summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am20
-rw-r--r--autogenclean.sh17
2 files changed, 20 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am
index 3776231..604865f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,6 +49,26 @@ DISTCLEANFILES = intltool-extract \
intltool-merge \
intltool-update
+MSACLEANFILES = aclocal.m4 \
+ compile \
+ config.* \
+ configure \
+ depcomp \
+ install-sh \
+ ltmain.sh \
+ missing \
+ omf.make \
+ xmldocs.make \
+ INSTALL \
+ $(top_srcdir)/sensors-applet/config.h*
+
+msa-clean: maintainer-clean
+ -test -z "$(MSACLEANFILES)" || rm -f $(MSACLEANFILES)
+ -rm -rf m4;
+ find . -name "Makefile.in" -exec rm \{\} \;
+
+.PHONY: msa-clean
+
# Build ChangeLog from GIT history
ChangeLog:
$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
diff --git a/autogenclean.sh b/autogenclean.sh
deleted file mode 100644
index d6a31c8..0000000
--- a/autogenclean.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash -e
-#
-# deletes compile files, so that I can upload the whole folder to github
-# use make clean first
-
-find . -name "Makefile" -exec rm {} \;
-find . -name "Makefile.in" -exec rm {} \;
-find . -name "autom4te.cache" -exec rm -r {} \;
-find . -name ".deps" -exec rm -r {} \;
-find . -name "m4" -exec rm -r {} \;
-find . -name "*.gmo" -exec rm {} \;
-find . -name "POTFILES" -exec rm {} \;
-find . -name "Makefile.in.in" -exec rm {} \;
-find . -name "stamp-it" -exec rm {} \;
-rm ./sensors-applet/config.h*;
-rm ./sensors-applet/stamp-h1;
-rm ./aclocal.m4 ./compile ./config.* ./configure ./depcomp ./install-sh ./libtool ./ltmain.sh ./missing ./omf.make ./xmldocs.make ./INSTALL;