build: Add `make reset-generated`

Signed-off-by: Simon McVittie <smcv@debian.org>
master
Simon McVittie 2019-02-03 12:34:34 +00:00
parent 73cfa618b4
commit 3fe5d0acbf
1 changed files with 4 additions and 2 deletions

View File

@ -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; \