generate an example ikiwiki.setup as part of the build
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 27 Jul 2008 03:02:46 +0000 (23:02 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 27 Jul 2008 03:02:46 +0000 (23:02 -0400)
Makefile.PL
debian/examples [new file with mode: 0644]

index 01a59eaf6b46cd73fc5013c9ec253a25369e63fc..559c6d9ead457a4e443c45979e60c0c575c58dca 100755 (executable)
@@ -31,6 +31,7 @@ ikiwiki.out: ikiwiki.in
        chmod +x ikiwiki.out
 
 extra_build: ikiwiki.out
+       $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -dumpsetup ikiwiki.setup
        $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
        ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
        ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
@@ -41,8 +42,7 @@ extra_build: ikiwiki.out
 
 extra_clean:
        rm -rf html doc/.ikiwiki
-       rm -f *.man ikiwiki.out
-       rm -f plugins/*.pyc
+       rm -f *.man ikiwiki.out ikiwiki.setup plugins/*.pyc
        $(MAKE) -C po clean
 
 extra_install:
diff --git a/debian/examples b/debian/examples
new file mode 100644 (file)
index 0000000..a1e6231
--- /dev/null
@@ -0,0 +1 @@
+ikiwiki.setup