Experimental package creation tool for MinGW.org
Revisão | 4708b7a133d6e24df30b00eed0fdcadcdc9cd633 (tree) |
---|---|
Hora | 2020-08-22 00:32:13 |
Autor | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Implement standard build-system "clean" rules.
* Makefile.in (clean, mostlyclean, distclean, realclean)
(maintainer-clean): Add rules.
@@ -154,5 +154,23 @@ bindist: | ||
154 | 154 | (cd dist/staged; tar cf - *) | xz -c > dist/$(RELEASE)-bin.tar.xz |
155 | 155 | rm -rf dist/staged |
156 | 156 | |
157 | + | |
158 | +# Working Directory Clean-Up Rules | |
159 | +# -------------------------------- | |
160 | +# | |
161 | +clean mostlyclean: | |
162 | + $(RM) $(all_scripts) | |
163 | + | |
164 | +distclean realclean: clean | |
165 | + $(RM) config.status config.log Makefile | |
166 | + | |
167 | +maintainer-clean-warning: | |
168 | + @echo Warning: $(MAKE) $(@:%-warning=%) | |
169 | + @echo Warning: This command should be used by package maintainers only; | |
170 | + @echo Warning: it deletes files which may need special tools to rebuild. | |
171 | + | |
172 | +maintainer-clean: %: %-warning distclean | |
173 | + $(RM) -r ${srcdir}/autom4te.cache | |
174 | +# | |
157 | 175 | # ----------------------------------------------------------------------------- |
158 | 176 | # $RCSfile$: end of file |