Commit cdd0a1dd authored by Iustin Pop's avatar Iustin Pop
Browse files

Add a maintainer-clean makefile rule

This splits the current “clean” rule into proper clean (cleaning of
build artifacts) and maintainer-clean (cleaning of distributed files).
This should make it better for Debian packaging.
parent 1de50907
......@@ -28,13 +28,14 @@ doc: $(DOCS)
--source-entity="%{MODULE/.//}.html#%{NAME}" \
rm -rf $(HDDIR)
rm -f $(DOCS) TAGS version Ganeti/HTools/Version.hs
rm -f $(HPROGS)
rm -f *.o *.prof *.ps *.stat *.aux *.hi
cd Ganeti/HTools && rm -f *.o *.prof *.ps *.stat *.aux *.hi
rm -f $(DOCS) TAGS Ganeti/HTools/Version.hs
git describe >/dev/null 2>&1 && rm -f version || true
git describe > $@
......@@ -52,4 +53,4 @@ dist: Ganeti/HTools/Version.hs version doc
gzip -v9 $$ANAME ; \
tar tzvf $$ANAME.gz
.PHONY : all doc clean dist
.PHONY : all doc maintainer-clean clean dist
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment