From 7f5dbaeaf18398d96c04cbb6806d5177f282601f Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 10 Sep 2010 08:21:35 +0000 Subject: [PATCH] Include wiki pages in distribution. --- Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3518348..8732564 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,24 +47,32 @@ LDADD = ./pam_yubico.la -lpam check_PROGRAMS = test TESTS = $(check_PROGRAMS) +# Dist docs from wiki. +EXTRA_DIST = doc/ReadMe.wiki doc/TwoFactorPAMConfiguration.wiki doc/YubiKeyAndFreeRADIUSviaPAM.wiki doc/YubiKeyAndFreeRADIUSwithsinglefactorauthenticationviaPAM.wiki doc/YubiKeyAndOpenVPNviaPAM.wiki doc/YubikeyAndRadiusViaPAM.wiki doc/YubikeyAndSSHViaPAM.wiki + # Release ChangeLog: svn2cl +check-doc-dist: + perl -pe "s,^EXTRA_DIST = .*,EXTRA_DIST = `echo doc/*.wiki`," < Makefile.am > tmp + diff -ur Makefile.am tmp || (echo 'error: please update Makefile.am'; exit 1) + PROJECT = yubico-pam GOOGLEACCOUNT ?= $(PACKAGE_BUGREPORT) KEYID ?= B9156397 release: rm -f ChangeLog - make ChangeLog distcheck + make check-doc-dist ChangeLog distcheck gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz gpg --verify $(PACKAGE)-$(VERSION).tar.gz.sig svn copy https://$(PROJECT).googlecode.com/svn/trunk/ \ https://$(PROJECT).googlecode.com/svn/tags/$(PACKAGE)-$(VERSION) \ -m "Tagging the $(VERSION) release of the $(PACKAGE) project." - cp -v $(PACKAGE)-$(VERSION).tar.gz* ../releases/$(PACKAGE)/ + mkdir -p ../releases/$(PACKAGE)/ && \ + cp -v $(PACKAGE)-$(VERSION).tar.gz* ../releases/$(PACKAGE)/ googlecode_upload.py -s "OpenPGP signature for $(PACKAGE) $(VERSION)." \ -p $(PROJECT) -u $(GOOGLEACCOUNT) $(PACKAGE)-$(VERSION).tar.gz.sig googlecode_upload.py -s "$(PACKAGE) $(VERSION)" \