/[smeserver]/rpms/LPRng/sme8/LPRng-3.8.32-makefile.patch
ViewVC logotype

Contents of /rpms/LPRng/sme8/LPRng-3.8.32-makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Jan 11 23:06:36 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: LPRng-3_8_32-2_el5_sme, HEAD
Import on branch sme8 of package LPRng-3.8.32-2.el5.sme.src.rpm

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed