summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-09-27 08:45:57 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-09-27 08:45:57 +0000
commitafa77d7d26acb1993d54b066b91af602410e5a8c (patch)
tree8015500032089075fce82a3acbeb1c580b420a24
parent0325d6ba8a8becd92ad470da702d392a3719b73b (diff)
Relevant BUGIDs: none
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.
-rw-r--r--ChangeLog6
-rw-r--r--doc/specs/Makefile.am6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eff564a..f05b76ad 100644
--- 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.
diff --git a/doc/specs/Makefile.am b/doc/specs/Makefile.am
index dc4171c2..1d8cbe2a 100644
--- a/doc/specs/Makefile.am
+++ b/doc/specs/Makefile.am
@@ -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/