summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-11 15:16:32 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-11 15:16:32 (EST)
commit3c52cd9b13fda17a1351a1a473a1ae4d6253ff09 (patch)
tree09e451bdb7c7d1503bad54b66aa23f4f3f19b6c0
parent3ab308442fb42269d6b6b30427c8b6773ae23739 (diff)
Make a separate "clean-install" target.
-rwxr-xr-xbuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/build b/build
index 6bdaa7a..aada73c 100755
--- a/build
+++ b/build
@@ -137,10 +137,14 @@ install: build
exit 1; \
done
-clean:
+clean: clean-build clean-install
+
+clean-build:
for target in $$(cat ../targets); do \
oh-autoclean -B "build-$${target}" || \
exit 1; \
done
rm -f configure build
+
+clean-install:
rm -Rf *.data