summaryrefslogtreecommitdiffstats
path: root/partimage/build/partimage_makefile.patch
blob: 5d4ee770e115d4261fe8a721e4a4fe6e9455d6fb (plain)
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
43
44
45
46
47
48
--- Makefile.in.orig	2007-08-11 12:36:57.000000000 +0200
+++ Makefile.in	2008-01-26 20:35:39.000000000 +0100
@@ -688,45 +688,8 @@
 	@echo "/etc/pam.d/partimaged"
 
 install-data-local:
-	$(mkinstalldirs) ${sysconfdir}
-	$(mkinstalldirs) ${sysconfdir}/partimaged
-
-	if test ! -f ${sysconfdir}/partimaged/partimagedusers ; then \
-	echo "# note: '#' introduces comments" > \
-          ${sysconfdir}/partimaged/partimagedusers ;\
-	echo -n "#add only users allowed to " >>  \
-           ${sysconfdir}/partimaged/partimagedusers ;\
-	echo "connect partimaged" >> ${sysconfdir}/partimaged/partimagedusers ;\
-	echo "# (only one login per line)" >> \
-           ${sysconfdir}/partimaged/partimagedusers ;\
-	echo "" >> ${sysconfdir}/partimaged/partimagedusers ;\
-	echo "#sample # user 'sample' is allowed to connect partimaged" >> \
-           ${sysconfdir}/partimaged/partimagedusers ;\
-	chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\
-	chown partimag:root ${sysconfdir}/partimaged/partimagedusers ;\
-	fi 
-
-	$(mkinstalldirs) ${infodir}
-	$(INSTALL_DATA) AUTHORS ${infodir}/AUTHORS
-	$(INSTALL_DATA) BUGS ${infodir}/BUGS
-	$(INSTALL_DATA) COPYING ${infodir}/COPYING
-	$(INSTALL_DATA) ChangeLog ${infodir}/ChangeLog
-	$(INSTALL_DATA) INSTALL ${infodir}/INSTALL
-	$(INSTALL_DATA) README ${infodir}/README
-	$(INSTALL_DATA) README.partimaged ${infodir}/README.partimaged
-	$(INSTALL_DATA) TODO ${infodir}/TODO
-	$(INSTALL_DATA) partimage.lsm ${infodir}/partimage.lsm
 
 uninstall-local:
-	-rm -f ${infodir}/AUTHORS
-	-rm -f ${infodir}/BUGS
-	-rm -f ${infodir}/COPYING
-	-rm -f ${infodir}/ChangeLog
-	-rm -f ${infodir}/INSTALL
-	-rm -f ${infodir}/README
-	-rm -f ${infodir}/README.partimaged
-	-rm -f ${infodir}/TODO
-	-rm -f ${infodir}/partimage.lsm
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: