Mercurial Queues Emulation for Git
Revisión | a374e779152498377fa433d2b774dc8304fd2413 (tree) |
---|---|
Tiempo | 2019-06-29 01:32:12 |
Autor | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Add build system clean-up support.
* Makefile.in (clean, mostlyclean, distclean, maintainer-clean):
New rules; implement them.
@@ -330,5 +330,24 @@ bindist-licence: LICENCE FDL-1.3 | ||
330 | 330 | $(MKDIR_P) ${PACKAGE_DOCDIR} |
331 | 331 | $(call INSTALL_SCRIPTS,$^,-m 644,${PACKAGE_DOCDIR}) |
332 | 332 | |
333 | + | |
334 | +# Clean-Up | |
335 | +# ======== | |
336 | +# | |
337 | +clean mostlyclean: | |
338 | + rm -f $(addprefix git-,$(mq_supported)) pre-commit *pre-commit*.sh | |
339 | + | |
340 | +distclean: clean | |
341 | + rm -f config.status config.log Makefile git-mq-setup.shar | |
342 | + rm -rf tmp *.1 *.ps *.pdf | |
343 | + | |
344 | +maintainer-clean-warning: | |
345 | + $(warning $(MAKE) $(@:%-warning=%)) | |
346 | + $(warning This command should be used by package maintainers only;) | |
347 | + $(warning it deletes files which may require special tools to rebuild.) | |
348 | + | |
349 | +maintainer-clean: maintainer-clean-warning distclean | |
350 | + rm -rf ${srcdir}/autom4te.cache | |
351 | + | |
333 | 352 | # ------------------------------------------------------------------------------ |
334 | 353 | # $RCSfile$: end of file |