Add DESTDIR variable to allow installing to a temporary directory. Actually

print the names of the installed files, not only their path.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-03-28 19:26:00 +00:00
rodzic 263a6eebdb
commit 1621c05f59
3 zmienionych plików z 11 dodań i 6 usunięć

Wyświetl plik

@ -1,6 +1,9 @@
2002-03-28 Henning Meier-Geinitz <henning@meier-geinitz.de>
* Makefile.in: Remove *.tar.gz when making distclean.
* doc/Makefile.in src/Makefile.in: Add DESTDIR variable to allow
installing to a temporary directory. Actually print the names
of the installed files, not only their path.
2002-03-15 Henning Meier-Geinitz <henning@meier-geinitz.de>

Wyświetl plik

@ -59,10 +59,11 @@ all: $(MANPAGES)
@echo Generating manpage $@...
install: $(MANPAGES)
$(MKDIR) $(mandir)/man1
$(MKDIR) $(DESTDIR)$(mandir)/man1
@for page in $(SECT1); do \
echo installing $${page} in $(mandir)/man1/$${page}...; \
$(INSTALL_DATA) $${page} $(mandir)/man1/$${page} || exit 1; \
$(INSTALL_DATA) $${page} $(DESTDIR)$(mandir)/man1/$${page} \
|| exit 1; \
done
uninstall:

Wyświetl plik

@ -76,13 +76,14 @@ install: $(PROGRAMS)
echo "*** maybe the GTK libraries weren't found?" ; \
exit 1 ; \
fi
$(MKDIR) $(bindir) $(datadir)
$(MKDIR) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)
@for program in $(BINPROGS); do \
echo installing $${program} in $(bindir)... ; \
echo installing $${program} in $(bindir)/$${program}... ; \
$(INSTALL_PROGRAM) $${program} \
$(bindir)/$${program}; \
$(DESTDIR)$(bindir)/$${program}; \
done
$(INSTALL_DATA) $(srcdir)/sane-style.rc $(datadir)/sane-style.rc
$(INSTALL_DATA) $(srcdir)/sane-style.rc \
$(DESTDIR)$(datadir)/sane-style.rc
uninstall:
@for program in $(BINPROGS); do \