projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9ce718
)
Added superclean Makefile target. Added a.out.DSYM's to clean target. Added .PHONY...
author
David Levine
<levinedl@acm.org>
Sat, 28 Jan 2012 01:56:50 +0000
(19:56 -0600)
committer
David Levine
<levinedl@acm.org>
Sat, 28 Jan 2012 01:56:50 +0000
(19:56 -0600)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
9d10a03
..
413e3f5
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-36,7
+36,7
@@
auxexecdir = @libdir@
CLEANFILES = config/version.c sbr/sigmsg.h etc/mts.conf etc/sendfiles \
etc/mhn.defaults man/man.sed $(man_MANS)
clean-local:
CLEANFILES = config/version.c sbr/sigmsg.h etc/mts.conf etc/sendfiles \
etc/mhn.defaults man/man.sed $(man_MANS)
clean-local:
- @rm -rf RPM
+ @rm -rf RPM a.out.DSYM uip/a.out.DSYM
##
## Stuff that should be cleaned via "make maintainer-clean"
##
## Stuff that should be cleaned via "make maintainer-clean"
@@
-44,6
+44,16
@@
clean-local:
MAINTAINERCLEANFILES = cscope.files cscope.out
##
MAINTAINERCLEANFILES = cscope.files cscope.out
##
+## And our own superclean, to get everything left by maintainer-clean.
+##
+SUPERCLEANFILES = Makefile.in aclocal.m4 compile config.guess config.h.in \
+ config.h.in~ config.sub configure depcomp install-sh missing \
+ ylwrap nmh-*.tar.gz
+superclean: maintainer-clean
+ @rm -f $(SUPERCLEANFILES)
+.PHONY: superclean
+
+##
## Files that need to be built before everything else
##
BUILT_SOURCES = sbr/sigmsg.h
## Files that need to be built before everything else
##
BUILT_SOURCES = sbr/sigmsg.h
@@
-487,6
+497,7
@@
rpm: dist
@rpmbuild --define '_topdir $(rpmdir)' \
--define '_tmppath %{_topdir}/TMP' \
-ba $(rpmdir)/SPECS/nmh.spec
@rpmbuild --define '_topdir $(rpmdir)' \
--define '_tmppath %{_topdir}/TMP' \
-ba $(rpmdir)/SPECS/nmh.spec
+.PHONY: rpm
##
## A target to build information needed by cscope
##
## A target to build information needed by cscope