kopia lustrzana https://gitlab.com/sane-project/frontends
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
rodzic
263a6eebdb
commit
1621c05f59
|
@ -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>
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Ładowanie…
Reference in New Issue