From e99cc6dd9e7362e7942b6e41605493d7e72e719a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 23:02:46 -0400 Subject: [PATCH] generate an example ikiwiki.setup as part of the build --- Makefile.PL | 4 ++-- debian/examples | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 debian/examples diff --git a/Makefile.PL b/Makefile.PL index 01a59eaf6..559c6d9ea 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 index 000000000..a1e623192 --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +ikiwiki.setup -- 2.26.2