summaryrefslogtreecommitdiff
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2006-01-10 21:58:08 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:22 +0000
commita1871913efc67d71e7b355a8a03655cbf12ab07f (patch)
treecfe538674b55d1d0325e83bbbe1a2703bd2262b9 /doc/Makefile.in
parentab2ece358cc58b7a7d1671a72d62c2cafe8811bb (diff)
parent7fad909266d49203537a28e6acc5d96b14bf4e7f (diff)
Imported Debian patch 0.99-1debian/0.99-1
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in32
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