* Make "make install-strip" works properly, and "make install"

accepts a DESTDIR variable for help in building binary packages.
      (Peter Breitenlohner)
This commit is contained in:
Martin Pool
2002-03-20 05:53:40 +00:00
parent 4cf64834ed
commit 6aaf8d8c10
2 changed files with 12 additions and 7 deletions

View File

@@ -53,15 +53,15 @@ all: rsync
man: rsync.1 rsyncd.conf.5
install: all
-mkdir -p ${bindir}
${INSTALLCMD} -m 755 rsync ${bindir}
-mkdir -p ${mandir}/man1
-mkdir -p ${mandir}/man5
${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${mandir}/man1
${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${mandir}/man5
-mkdir -p ${DESTDIR}${bindir}
${INSTALLCMD} ${STRIP} -m 755 rsync ${DESTDIR}${bindir}
-mkdir -p ${DESTDIR}${mandir}/man1
-mkdir -p ${DESTDIR}${mandir}/man5
${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
install-strip:
$(MAKE) INSTALLCMD='$(INSTALLCMD) -s' install
$(MAKE) STRIP='-s' install
rsync: $(OBJS)
@echo "Please ignore warnings below about mktemp -- it is used in a safe way"

5
NEWS
View File

@@ -8,6 +8,11 @@ rsync changes since last release
time taken; otherwise show expected time to complete. (Cameron
Simpson)
* Make "make install-strip" works properly, and "make install"
accepts a DESTDIR variable for help in building binary packages.
(Peter Breitenlohner)
BUG FIXES:
* Fix situation where failure to fork (e.g. because out of process