diff --git a/Makefile b/Makefile index c681119c8aa0b898dac9b4e61791397ece0d29e5..b349a8ca1e6b9a4655107904f9f0fdf130ca9657 100644 --- a/Makefile +++ b/Makefile @@ -28,13 +28,14 @@ doc: $(DOCS) --source-entity="%{MODULE/.//}.html#%{NAME}" \ $(HSRCS) -clean: +maintainer-clean: rm -rf $(HDDIR) + rm -f $(DOCS) TAGS version Ganeti/HTools/Version.hs + +clean: 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 version: 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