1 |
slords |
1.1 |
diff -ruN LPRng-3.8.32.orig/Makefile.in LPRng-3.8.32/Makefile.in |
2 |
|
|
--- LPRng-3.8.32.orig/Makefile.in 2005-05-07 10:47:20.000000000 -0600 |
3 |
|
|
+++ LPRng-3.8.32/Makefile.in 2008-01-11 13:50:34.000000000 -0700 |
4 |
|
|
@@ -45,7 +45,7 @@ |
5 |
|
|
LPD_CONF_PATH=\"@LPD_CONF_PATH@\" |
6 |
|
|
PRINTCAP_PATH=\"@PRINTCAP_PATH@\" |
7 |
|
|
LPD_PATH=\"@LPD_DIR@/lpd\" |
8 |
|
|
-SHELL="@SHELL@" |
9 |
|
|
+SHELL=@SHELL@ |
10 |
|
|
LOCKFILE=\"@LOCKFILE@\" |
11 |
|
|
CONFIG_SUBDIR="@CONFIG_SUBDIR@" |
12 |
|
|
PSHOWALL="@PSHOWALL@" |
13 |
|
|
@@ -133,13 +133,13 @@ |
14 |
|
|
-rm -f *.bak ? ?.* core *.old *~ po/*~ lprng.sh |
15 |
|
|
|
16 |
|
|
install: all |
17 |
|
|
- if [ ! -d ${DATADIR} ] ; then ${SRC}/mkinstalldirs ${DATADIR}; fi |
18 |
|
|
+ if [ ! -d $(DESTDIR)/${DATADIR} ] ; then ${SRC}/mkinstalldirs $(DESTDIR)/${DATADIR}; fi |
19 |
|
|
for i in lpd.perms lpd.conf printcap lprng.sh postinstall ; do \ |
20 |
|
|
- ${INSTALL} $$i ${DATADIR}/$$i.sample; \ |
21 |
|
|
+ ${INSTALL} $$i $(DESTDIR)/${DATADIR}/$$i.sample; \ |
22 |
|
|
done |
23 |
|
|
OSNAME=@OSNAME@; case "@OSNAME@" in *linux* ) \ |
24 |
|
|
for i in init.linux init.linuxsb init.redhat ; do \ |
25 |
|
|
- ${INSTALL} $$i ${DATADIR}/$$i.sample; \ |
26 |
|
|
+ ${INSTALL} $$i $(DESTDIR)/${DATADIR}/$$i.sample; \ |
27 |
|
|
done; ;; esac |
28 |
|
|
$(MAKE) MAKETARGET=$@ DESTDIR=$(DESTDIR) $(INSTALLDIRS) |
29 |
|
|
MAKEINSTALL=YES DESTDIR=$(DESTDIR) $(SHELL) postinstall |