OSDN Git Service

* Makefile.am: Add install-pdf target as copied from
authorbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2007 00:03:11 +0000 (00:03 +0000)
committerbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2007 00:03:11 +0000 (00:03 +0000)
automake v1.10 rules.
* Makefile.in: Regenerate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122451 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/Makefile.am
libgomp/Makefile.in

index a47f2ca..fa0bbcd 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.am: Add install-pdf target as copied from
+       automake v1.10 rules.
+       * Makefile.in: Regenerate
+
 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR libgomp/28486
index c2bfbea..8192aec 100644 (file)
@@ -51,10 +51,19 @@ env.lo: libgomp_f.h
 env.o: libgomp_f.h
 
 
-# No install-html target
-.PHONY: install-html
+# No install-html or install-pdf support in automake yet
+.PHONY: install-html install-pdf
 install-html:
 
+install-pdf: $(PDFS)
+       @$(NORMAL_INSTALL)
+       test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
+       @list='$(PDFS)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
+         $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
+       done
 
 # Automake Documentation:
 # If your package has Texinfo files in many directories, you can use the
index 7fee1cc..f11740c 100644 (file)
@@ -1045,10 +1045,20 @@ fortran.o: libgomp_f.h
 env.lo: libgomp_f.h
 env.o: libgomp_f.h
 
-# No install-html target
-.PHONY: install-html
+# No install-html or install-pdf support in automake yet
+.PHONY: install-html install-pdf
 install-html:
 
+install-pdf: $(PDFS)
+       @$(NORMAL_INSTALL)
+       test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
+       @list='$(PDFS)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
+         $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
+       done
+
 all-local: $(STAMP_GENINSRC)
 
 stamp-geninsrc: libgomp.info