aboutsummaryrefslogblamecommitdiff
path: root/net/netatalk/files/patch-config_Makefile.in
blob: 54f7d74bb764e32d339223c9c55f6a5315dfe6ba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                        










                                                                                                   



                                                                   






                                                                                                    

                                                        
                                                                     
--- config/Makefile.in.orig	Tue Dec  2 15:19:05 2003
+++ config/Makefile.in	Sun Dec  7 13:29:53 2003
@@ -378,23 +378,11 @@
 install-config-files: $(CONFFILES) $(GENFILES)
 	$(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
 	for f in $(CONFFILES) $(GENFILES); do \
-		if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \
-			echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \
-			$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \
-		else \
-			echo "not overwriting $$f"; \
-		fi; \
+		echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)/$$f.dist"; \
+		$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)/$$f.dist; \
 	done
 
 @USE_PAM_TRUE@install-data-local: install-config-files $(PAMFILES)
-@USE_PAM_TRUE@	$(mkinstalldirs) $(DESTDIR)$(pamdir)
-@USE_PAM_TRUE@	if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pamdir)/netatalk; then \
-@USE_PAM_TRUE@		echo "$(INSTALL_DATA) netatalk.pamd $(DESTDIR)$(pamdir)/netatalk"; \
-@USE_PAM_TRUE@		$(INSTALL_DATA) netatalk.pamd $(DESTDIR)$(pamdir)/netatalk || \
-@USE_PAM_TRUE@		echo "WARNING: Can't install PAM file";            \
-@USE_PAM_TRUE@	else \
-@USE_PAM_TRUE@		echo "not overwriting $(DESTDIR)$(pamdir)/netatalk"; \
-@USE_PAM_TRUE@	fi;
 
 @USE_PAM_FALSE@install-data-local: install-config-files
 # Tell versions [3.59,3.63) of GNU make to not export all variables.