[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

patch to doc/Makefile.am



Hi,

I ran into a problem when I use Linux-PAM-0.99.2.0 and want do
  automake
  ...
  make DESTDIR=mydestdir install
If you use `automake' to recreate Makefiles.in before configure etc. then 
the `make install' process will fail. The problem lies in doc/Makefile.am 
because there are missed some backslashes.
I have attached a patch to solve this problem.

Best regard
  mike

-----------------------------------------------------------------------------
 Mike Becher                              Mike Becher lrz-muenchen de
 Leibniz-Rechenzentrum der                http://www.lrz.de
 Bayerischen Akademie der Wissenschaften  phone: +49-89-289-28721      
 Gruppe Hochleistungssysteme              fax:   +49-89-280-9460
 Barer Strasse 21                    
 D-80333 Muenchen
 Germany                   
-----------------------------------------------------------------------------
diff -u -r -N Linux-PAM-0.99.2.0.orig/doc/Makefile.am Linux-PAM-0.99.2.0/doc/Makefile.am
--- Linux-PAM-0.99.2.0.orig/doc/Makefile.am	2005-09-22 14:50:31.000000000 +0200
+++ Linux-PAM-0.99.2.0/doc/Makefile.am	2005-12-08 20:55:29.000000000 +0100
@@ -118,25 +118,25 @@
 if HAVE_SGML2TXT
 	$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/text
 	for file in txts/*.txt; do \
-	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/text
+	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/text; \
 	done
 endif
 if HAVE_SGML2PS
 	$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/ps
 	for file in ps/*.ps; do \
-	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/ps
+	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/ps; \
 	done
 if HAVE_PS2PDF
 	$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/pdf
 	for file in pdf/*.pdf; do \
-	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/pdf
+	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/pdf; \
 	done
 endif
 endif
 if HAVE_SGML2HTML
 	$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/html
 	for file in html/*.html; do \
-	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/html
+	  $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/html; \
 	done
 endif
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]