--- Makefile.in.orig 2013-11-25 04:41:21.000000000 +0400 +++ Makefile.in 2013-11-25 12:16:27.911379666 +0400 @@ -67,6 +67,7 @@ install-db: install -d $(DESTDIR)$(LIBDIR)/db/source/opt install -d $(DESTDIR)$(LIBDIR)/db/source/PPD install -d $(DESTDIR)$(LIBDIR)/xmlschema + install -d $(DESTDIR)$(datadir)/cups/model cp db/oldprinterids $(DESTDIR)$(LIBDIR)/db cp db/source/printer/*.xml $(DESTDIR)$(LIBDIR)/db/source/printer ( cd db/source/driver/; \ @@ -79,10 +80,7 @@ install-db: if test $(GZIP) != GZIP_NOT_FOUND -a $(GZIP_PPDS) != no ; then \ GZIP='' find $(DESTDIR)$(LIBDIR)/db/source/PPD -name "*.ppd" -exec $(GZIP) "{}" \; ; \ fi - if test $(CUPS_PPDS) != CUPS_PPDS_NOT_FOUND -a $(PPDS_TO_CUPS) != no ; then \ - install -d $(DESTDIR)$(CUPS_PPDS); \ - ln -sf $(LIBDIR)/db/source/PPD $(DESTDIR)$(CUPS_PPDS)/foomatic-db-ppds; \ - fi + ln -sf $(LIBDIR)/db/source/PPD $(DESTDIR)$(datadir)/cups/model/foomatic-db-ppds cp xmlschema/*.xsd $(DESTDIR)$(LIBDIR)/xmlschema build: