summaryrefslogtreecommitdiff
path: root/ftp/ftpmirror/files/patch-Makefile.in
blob: b29c6a91c6fdddbfac237fa8f2bd87d1f6d78779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- Makefile.in.orig	1997-09-26 11:43:03.000000000 -0300
+++ Makefile.in	2013-10-30 11:19:37.000000000 -0200
@@ -23,28 +23,31 @@
 	rm -f *.old *.bak *.core Makefile
 
 # install:: ${BINDIR}/farm
-install:: ${BINDIR}/rotate
-install:: ${BINDIR}/ftpmirror
-install:: ${SYSCONFDIR}/ftpmirror.cf-sample
+install:: ${DESTDIR}${BINDIR}/rotate
+install:: ${DESTDIR}${BINDIR}/ftpmirror
+install:: ${DESTDIR}${SYSCONFDIR}/ftpmirror.cf-sample
 
-${BINDIR}/rotate: rotate
+${DESTDIR}${BINDIR}/rotate: rotate
 	${INSTALL_PROGRAM} $? $@
 
-${BINDIR}/farm: farm
+${DESTDIR}${BINDIR}/farm: farm
 	${INSTALL_PROGRAM} $? $@
 
-${BINDIR}/ftpmirror: ftpmirror
+${DESTDIR}${BINDIR}/ftpmirror: ftpmirror
 	${INSTALL_PROGRAM} $? $@
 
-${SYSCONFDIR}/ftpmirror.cf-sample: ftpmirror.cf-sample
+${DESTDIR}${SYSCONFDIR}/ftpmirror.cf-sample: ftpmirror.cf-sample
 	${INSTALL_DATA} $? $@
 
 # for subdirectories...
-all clean realclean install:: Fan/Makefile
+all clean realclean:: Fan/Makefile
 	@ for d in ${SUBDIR} ; do \
 		( echo "make $@ in $$d..." && cd $$d && make $@ ) ; \
 	done
 
+install:: Fan/Makefile
+	( echo "make pure_install in Fan..." && cd Fan && make pure_install ) ; \
+
 # Fan subdirectory requres Makefile first.
 Fan/Makefile:: Fan/Makefile.PL
 	cd Fan; ${PERL} Makefile.PL