]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - Makefile.PL
httpauth: Add cgiauthurl setting that can be used to do http basic auth only when...
[git.ikiwiki.info.git] / Makefile.PL
index a58b64c0dd04c0782a4577644041c87d7c7cb487..462f7364d57ce1c465db2b9ff0c2368a1279b3c2 100755 (executable)
@@ -44,6 +44,8 @@ extra_build: ikiwiki.out ikiwiki.setup docwiki
        ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
        ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man
        $(MAKE) -C po
+       sed -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
+       rm -f ikiwiki.spec.bkp
        
 docwiki: ikiwiki.out
        $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh