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.
--source-entity="%{MODULE/.//}.html#%{NAME}" \
$(HSRCS)
--source-entity="%{MODULE/.//}.html#%{NAME}" \
$(HSRCS)
+ 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 $(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 > $@
version:
git describe > $@
gzip -v9 $$ANAME ; \
tar tzvf $$ANAME.gz
gzip -v9 $$ANAME ; \
tar tzvf $$ANAME.gz
-.PHONY : all doc clean dist
+.PHONY : all doc maintainer-clean clean dist