mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-07 18:54:20 +01:00
Include wiki pages in distribution.
This commit is contained in:
parent
d2d1b511d3
commit
7f5dbaeaf1
10
Makefile.am
10
Makefile.am
@ -47,23 +47,31 @@ LDADD = ./pam_yubico.la -lpam
|
|||||||
check_PROGRAMS = test
|
check_PROGRAMS = test
|
||||||
TESTS = $(check_PROGRAMS)
|
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
|
# Release
|
||||||
|
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
svn2cl
|
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
|
PROJECT = yubico-pam
|
||||||
GOOGLEACCOUNT ?= $(PACKAGE_BUGREPORT)
|
GOOGLEACCOUNT ?= $(PACKAGE_BUGREPORT)
|
||||||
KEYID ?= B9156397
|
KEYID ?= B9156397
|
||||||
|
|
||||||
release:
|
release:
|
||||||
rm -f ChangeLog
|
rm -f ChangeLog
|
||||||
make ChangeLog distcheck
|
make check-doc-dist ChangeLog distcheck
|
||||||
gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz
|
gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz
|
||||||
gpg --verify $(PACKAGE)-$(VERSION).tar.gz.sig
|
gpg --verify $(PACKAGE)-$(VERSION).tar.gz.sig
|
||||||
svn copy https://$(PROJECT).googlecode.com/svn/trunk/ \
|
svn copy https://$(PROJECT).googlecode.com/svn/trunk/ \
|
||||||
https://$(PROJECT).googlecode.com/svn/tags/$(PACKAGE)-$(VERSION) \
|
https://$(PROJECT).googlecode.com/svn/tags/$(PACKAGE)-$(VERSION) \
|
||||||
-m "Tagging the $(VERSION) release of the $(PACKAGE) project."
|
-m "Tagging the $(VERSION) release of the $(PACKAGE) project."
|
||||||
|
mkdir -p ../releases/$(PACKAGE)/ && \
|
||||||
cp -v $(PACKAGE)-$(VERSION).tar.gz* ../releases/$(PACKAGE)/
|
cp -v $(PACKAGE)-$(VERSION).tar.gz* ../releases/$(PACKAGE)/
|
||||||
googlecode_upload.py -s "OpenPGP signature for $(PACKAGE) $(VERSION)." \
|
googlecode_upload.py -s "OpenPGP signature for $(PACKAGE) $(VERSION)." \
|
||||||
-p $(PROJECT) -u $(GOOGLEACCOUNT) $(PACKAGE)-$(VERSION).tar.gz.sig
|
-p $(PROJECT) -u $(GOOGLEACCOUNT) $(PACKAGE)-$(VERSION).tar.gz.sig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user