c234043abb
- use STAGEDIR - new options SENDMAIL POSTFIX QMAIL SMAIL CNEWS INN
211 lines
5.6 KiB
Text
211 lines
5.6 KiB
Text
--- etc/Makefile.orig 2000-02-06 21:00:07.000000000 +0100
|
|
+++ etc/Makefile 2013-11-29 05:40:51.000000000 +0100
|
|
@@ -18,7 +18,7 @@
|
|
install:
|
|
for i in $(FILES); do \
|
|
if test ! -f $(ETCDIR)/$$i; then \
|
|
- $(INSTALL_DATA) $$i $(ETCDIR); \
|
|
+ $(INSTALL_DATA) $$i $(DESTDIR)$(ETCDIR); \
|
|
fi; done
|
|
|
|
uninstall:
|
|
--- gate/Makefile.orig 2001-05-23 08:58:13.000000000 +0200
|
|
+++ gate/Makefile 2013-11-29 05:41:23.000000000 +0100
|
|
@@ -48,11 +48,11 @@
|
|
all: $(PROGS)
|
|
|
|
install: all
|
|
- $(INSTALL_PROGRAM) uursmtp uuwsmtp uuwnews $(BINDIR)
|
|
- $(INSTALL_PROGRAM) -m 4555 uurnews $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) uursmtp uuwsmtp uuwnews $(DESTDIR)$(BINDIR)
|
|
+ $(INSTALL_PROGRAM) -m 4555 uurnews $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(PROGS)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES) $(PROGS) $(TPROGS)
|
|
--- shell/Makefile.orig 2001-05-23 08:55:45.000000000 +0200
|
|
+++ shell/Makefile 2013-11-29 05:50:46.000000000 +0100
|
|
@@ -71,13 +71,13 @@
|
|
install: $(FILES)
|
|
for i in $(FILESKEEP) ; do \
|
|
if [ ! -e $(BINDIR)/$$i ] ; then \
|
|
- $(INSTALL_PROGRAM) $$i $(BINDIR) ; \
|
|
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(BINDIR) ; \
|
|
fi ; \
|
|
done
|
|
- $(INSTALL_PROGRAM) $(FILESFORCE) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILESFORCE) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- online/Makefile.orig 2001-05-23 08:55:47.000000000 +0200
|
|
+++ online/Makefile 2013-11-29 05:44:29.000000000 +0100
|
|
@@ -52,10 +52,10 @@
|
|
all: $(PROGS)
|
|
|
|
install: all
|
|
- $(INSTALL_PROGRAM) $(PROGS) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(PROGS)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES) $(PROGS)
|
|
--- rsmtp/Makefile.orig 2000-01-14 22:42:19.000000000 +0100
|
|
+++ rsmtp/Makefile 2013-11-29 05:50:02.000000000 +0100
|
|
@@ -19,20 +19,20 @@
|
|
bsmtp
|
|
|
|
BINMIN = \
|
|
- $(BINDIR)/rsmtp \
|
|
- $(BINDIR)/bsmtp
|
|
+ $(DESTDIR)$(BINDIR)/rsmtp \
|
|
+ $(DESTDIR)$(BINDIR)/bsmtp
|
|
|
|
# rules
|
|
|
|
all: $(TARMIN)
|
|
|
|
-install: ${BINDIR} \
|
|
- $(SPOOLDIR)/rsmtp \
|
|
+install: $(DESTDIR)${BINDIR} \
|
|
+ $(DESTDIR)$(SPOOLDIR)/rsmtp \
|
|
$(TARMIN) \
|
|
$(BINMIN)
|
|
|
|
uninstall:
|
|
- -rm -f $(BINMIN) $(BINDIR)/rgsmtp $(BINDIR)/rcsmtp
|
|
+ -rm -f $(BINMIN) $(DESTDIR)$(BINDIR)/rgsmtp $(DESTDIR)$(BINDIR)/rcsmtp
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES) $(TARMIN)
|
|
@@ -47,20 +47,20 @@
|
|
|
|
# install rules
|
|
|
|
-$(BINDIR):
|
|
- mkdir -p ${BINDIR}
|
|
+$(DESTDIR)$(BINDIR):
|
|
+ mkdir -p $(DESTDIR)${BINDIR}
|
|
|
|
-$(SPOOLDIR)/rsmtp:
|
|
- mkdir -p $(SPOOLDIR)/rsmtp
|
|
- chown $(USER) $(SPOOLDIR)/rsmtp
|
|
- chmod 1777 $(SPOOLDIR)/rsmtp
|
|
+$(DESTDIR)$(SPOOLDIR)/rsmtp:
|
|
+ mkdir -p $(DESTDIR)$(SPOOLDIR)/rsmtp
|
|
+ chown $(USER) $(DESTDIR)$(SPOOLDIR)/rsmtp
|
|
+ chmod 1777 $(DESTDIR)$(SPOOLDIR)/rsmtp
|
|
|
|
-$(BINDIR)/rsmtp: rsmtp
|
|
+$(DESTDIR)$(BINDIR)/rsmtp: rsmtp
|
|
$(INSTALL_PROGRAM) rsmtp $@
|
|
- $(INSTALL_PROGRAM) rsmtp $(BINDIR)/rgsmtp
|
|
- $(INSTALL_PROGRAM) rsmtp $(BINDIR)/rcsmtp
|
|
+ $(INSTALL_PROGRAM) rsmtp $(DESTDIR)$(BINDIR)/rgsmtp
|
|
+ $(INSTALL_PROGRAM) rsmtp $(DESTDIR)$(BINDIR)/rcsmtp
|
|
|
|
-$(BINDIR)/bsmtp: bsmtp
|
|
+$(DESTDIR)$(BINDIR)/bsmtp: bsmtp
|
|
$(INSTALL_PROGRAM) rsmtp $@
|
|
|
|
# end of makefile
|
|
--- mail-and-news/inn/Makefile.orig 2000-01-15 21:51:30.000000000 +0100
|
|
+++ mail-and-news/inn/Makefile 2013-11-29 05:52:39.000000000 +0100
|
|
@@ -7,10 +7,10 @@
|
|
all: $(FILES)
|
|
|
|
install: $(FILES)
|
|
- $(INSTALL_PROGRAM) $(FILES) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- mail-and-news/postfix/Makefile.orig 2002-04-07 13:07:30.000000000 +0200
|
|
+++ mail-and-news/postfix/Makefile 2013-11-29 05:53:11.000000000 +0100
|
|
@@ -7,10 +7,10 @@
|
|
all: $(FILES) README ucpf.pl
|
|
|
|
install: $(FILES)
|
|
- $(INSTALL_PROGRAM) $(FILES) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- mail-and-news/qmail/Makefile.orig 2000-01-15 22:06:49.000000000 +0100
|
|
+++ mail-and-news/qmail/Makefile 2013-11-29 05:53:27.000000000 +0100
|
|
@@ -7,10 +7,10 @@
|
|
all: $(FILES)
|
|
|
|
install: $(FILES)
|
|
- $(INSTALL_PROGRAM) $(FILES) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- mail-and-news/sendmail/Makefile.orig 2001-03-27 07:59:06.000000000 +0200
|
|
+++ mail-and-news/sendmail/Makefile 2013-11-29 05:53:48.000000000 +0100
|
|
@@ -41,10 +41,10 @@
|
|
all: RSMTP $(FILES) uconnect.m4
|
|
|
|
install: $(FILES)
|
|
- $(INSTALL_PROGRAM) $(FILES) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- mail-and-news/smail/Makefile.orig 2001-03-27 07:59:06.000000000 +0200
|
|
+++ mail-and-news/smail/Makefile 2013-11-29 05:54:03.000000000 +0100
|
|
@@ -41,10 +41,10 @@
|
|
all: $(FILES)
|
|
|
|
install: $(FILES)
|
|
- $(INSTALL_PROGRAM) $(FILES) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(FILES)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES)
|
|
--- tools/Makefile.orig 2001-05-23 08:55:42.000000000 +0200
|
|
+++ tools/Makefile 2013-11-29 05:51:27.000000000 +0100
|
|
@@ -44,10 +44,10 @@
|
|
all: $(PROGS)
|
|
|
|
install: all
|
|
- $(INSTALL_PROGRAM) $(PROGS) $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(BINDIR)
|
|
|
|
uninstall:
|
|
- -cd $(BINDIR) && rm -f $(PROGS)
|
|
+ -cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
|
|
|
|
clean:
|
|
-rm -f $(CLEANFILES) $(PROGS)
|