diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:18 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:18 +0000 |
commit | 7fad909266d49203537a28e6acc5d96b14bf4e7f (patch) | |
tree | aa6e8fb2327f43f86562b3ccefda9f08fe767e4b /doc/Makefile.in | |
parent | 947f2ec5da522dbe5b474fc7031cd3f224bd7ead (diff) |
Imported Upstream version 0.99upstream/0.99
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r-- | doc/Makefile.in | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in index 6913cd2..59b022b 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -23,7 +23,7 @@ configdir = ${sysconfdir}/sane.d sanedatadir = ${datadir}/sane xsanedocdir = ${datadir}/sane/xsane/doc -MKDIR = $(top_srcdir)/mkinstalldirs +MKINSTALLDIRS = @MKINSTALLDIRS@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ @@ -49,38 +49,38 @@ all: $(MANPAGES) -e 's|@SBINDIR@|$(sbindir)|g' $^ >$@ install: $(MANPAGES) - $(MKDIR) $(mandir)/man1 + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1 @for page in $(SECT1); do \ - echo installing $${page} in $(mandir)/man1/$${page}...; \ - $(INSTALL_DATA) $${page} $(mandir)/man1/$${page} || exit 1; \ + echo installing $${page} in $(DESTDIR)$(mandir)/man1/$${page}...; \ + $(INSTALL_DATA) $${page} $(DESTDIR)$(mandir)/man1/$${page} || exit 1; \ done - $(MKDIR) $(datadir) + $(MKINSTALLDIRS) $(DESTDIR)$(datadir) - $(MKDIR) $(xsanedocdir) + $(MKINSTALLDIRS) $(DESTDIR)$(xsanedocdir) @for page in *.html; do\ - echo installing $${page} in $(xsanedocdir)/$${page}...; \ - $(INSTALL_DATA) $${page} $(xsanedocdir)/$${page} || exit 1; \ + echo installing $${page} in $(DESTDIR)$(xsanedocdir)/$${page}...; \ + $(INSTALL_DATA) $${page} $(DESTDIR)$(xsanedocdir)/$${page} || exit 1; \ done @for image in *.jpg; do\ - echo installing $${image} in $(xsanedocdir)/$${image}...; \ - $(INSTALL_DATA) $${image} $(xsanedocdir)/$${image} || exit 1; \ + echo installing $${image} in $(DESTDIR)$(xsanedocdir)/$${image}...; \ + $(INSTALL_DATA) $${image} $(DESTDIR)$(xsanedocdir)/$${image} || exit 1; \ done uninstall: @for page in $(SECT1); do \ - echo uninstalling $(mandir)/man1/$${page}...; \ - rm -f $(mandir)/man1/$${page} || exit 1; \ + echo uninstalling $(DESTDIR)$(mandir)/man1/$${page}...; \ + rm -f $(DESTDIR)$(mandir)/man1/$${page} || exit 1; \ done @for page in *.html; do\ - echo uninstalling $(xsanedocdir)/$${page}...; \ - rm -f $(xsanedocdir)/$${page} || exit 1; \ + echo uninstalling $(DESTDIR)$(xsanedocdir)/$${page}...; \ + rm -f $(DESTDIR)$(xsanedocdir)/$${page} || exit 1; \ done @for image in *.jpg; do\ - echo uninstalling $${image} in $(xsanedocdir)/$${image}...; \ - rm -f $(xsanedocdir)/$${image} || exit 1; \ + echo uninstalling $${image} in $(DESTDIR)$(xsanedocdir)/$${image}...; \ + rm -f $(DESTDIR)$(xsanedocdir)/$${image} || exit 1; \ done docs: ps html |