]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: none
authorThorsten Kukuk <kukuk@thkukuk.de>
Tue, 27 Sep 2005 08:45:57 +0000 (08:45 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Tue, 27 Sep 2005 08:45:57 +0000 (08:45 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

Install draft and rfc, fix make dist outside source dir.

2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/specs/Makefile.am (install-data-local): Install
        rfc and draft.
        (all): Copy rfc if we build outside of source directory.

ChangeLog
doc/specs/Makefile.am

index 0eff564a5a24c1f96abaab862c8c0e644e93fa8c..f05b76ad60cabc02c41b31575470387055252621 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>
+
+       * doc/specs/Makefile.am (install-data-local): Install
+       rfc and draft.
+       (all): Copy rfc if we build outside of source directory.
+
 2005-09-27  Thorsten Kukuk  <kukuk@suse.de>
 
        * NEWS: Document removal of pam_radius.
index dc4171c27e3d00f5897054238c7ff656c021aa40..1d8cbe2a8e610e14fe2b9bf932d5b479caa9b607 100644 (file)
@@ -7,6 +7,7 @@ CLEANFILES = draft-morgan-pam-current.txt *~
 EXTRA_DIST = draft-morgan-pam.raw std-agent-id.raw rfc86.0.txt
 
 all: padout spec
+       test -f rfc86.0.txt || cp -p $(srcdir)/rfc86.0.txt .
 
 spec: draft-morgan-pam.raw
        ./padout < $(srcdir)/draft-morgan-pam.raw > draft-morgan-pam-current.txt
@@ -21,3 +22,8 @@ parse.c: lex.yy.c
 
 lex.yy.c: $(srcdir)/parse.lex
        $(LEX) $(srcdir)/parse.lex
+
+install-data-local:
+       $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/spec
+       $(INSTALL_DATA) draft-morgan-pam-current.txt $(DESTDIR)$(DOCDIR)/spec/
+       $(INSTALL_DATA) rfc86.0.txt $(DESTDIR)$(DOCDIR)/spec/