aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-02-03 12:34:34 +0000
committerSimon McVittie <smcv@debian.org>2019-02-03 12:34:46 +0000
commit3fe5d0acbfcb42d8c3898672db8b9b5cb4f6cec8 (patch)
tree657b96b292697da8d3fa778865ee4d2881236f72 /Makefile.PL
parent73cfa618b4e9c91688cbf3f3f035e1774a0c2947 (diff)
downloadikiwiki-3fe5d0acbfcb42d8c3898672db8b9b5cb4f6cec8.tar
ikiwiki-3fe5d0acbfcb42d8c3898672db8b9b5cb4f6cec8.tar.gz
build: Add `make reset-generated`
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 7b55c7025..f2080be2b 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -89,10 +89,12 @@ extra_clean: perl_shebangs_clean
rm -f *.man $(outprogs) ikiwiki.setup plugins/*.pyc
$(MAKE) -C po clean
-# Joey uses this before committing.
-myclean: clean
+reset-generated:
git checkout po ikiwiki.spec
+# Joey uses this before committing.
+myclean: clean reset-generated
+
underlay_install:
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
set -e; \