changeset 1399:898dc978c39d

Remove more files on uninstall
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 11:10:33 -0500
parents fe470db7feea
children c57414e39321
files Makefile.am Makefile.in
diffstat 2 files changed, 27 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sun Jan 16 10:57:59 2011 -0500
+++ b/Makefile.am	Sun Jan 16 11:10:33 2011 -0500
@@ -74,6 +74,18 @@
 	cp src/elisp/*.el $(SITELISP)/
 	-ldconfig
 
+uninstall-local:
+	rm -f $(BIN)/urweb \
+		$(LIB_UR)/basis.urs $(LIB_UR)/char.urs $(LIB_UR)/listPair.urs $(LIB_UR)/list.urs \
+		$(LIB_UR)/monad.urs $(LIB_UR)/option.urs $(LIB_UR)/string.urs $(LIB_UR)/top.urs \
+		$(LIB_UR)/char.ur $(LIB_UR)/listPair.ur $(LIB_UR)/list.ur \
+		$(LIB_UR)/monad.ur $(LIB_UR)/option.ur $(LIB_UR)/string.ur $(LIB_UR)/top.ur \
+		$(LIB_JS)/urweb.js \
+		$(INCLUDE)/config.h $(INCLUDE)/queue.h $(INCLUDE)/request.h $(INCLUDE)/types.h \
+		$(INCLUDE)/urweb.h \
+		$(SITELISP)/urweb-compat.el $(SITELISP)/urweb-mode.el $(SITELISP)/urweb-move.el \
+		$(SITELISP)/urweb-defs.el $(SITELISP)/urweb-mode-startup.el $(SITELISP)/urweb-util.el
+
 package:
 	hg archive -t tgz -X tests /tmp/urweb.tgz
 
--- a/Makefile.in	Sun Jan 16 10:57:59 2011 -0500
+++ b/Makefile.in	Sun Jan 16 11:10:33 2011 -0500
@@ -707,7 +707,7 @@
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-local
 
 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
 	ctags-recursive install-am install-strip tags-recursive
@@ -727,7 +727,8 @@
 	install-strip installcheck installcheck-am installdirs \
 	installdirs-am maintainer-clean maintainer-clean-generic \
 	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
-	ps ps-am tags tags-recursive uninstall uninstall-am
+	ps ps-am tags tags-recursive uninstall uninstall-am \
+	uninstall-local
 
 
 all-local: smlnj mlton
@@ -791,6 +792,18 @@
 	cp src/elisp/*.el $(SITELISP)/
 	-ldconfig
 
+uninstall-local:
+	rm -f $(BIN)/urweb \
+		$(LIB_UR)/basis.urs $(LIB_UR)/char.urs $(LIB_UR)/listPair.urs $(LIB_UR)/list.urs \
+		$(LIB_UR)/monad.urs $(LIB_UR)/option.urs $(LIB_UR)/string.urs $(LIB_UR)/top.urs \
+		$(LIB_UR)/char.ur $(LIB_UR)/listPair.ur $(LIB_UR)/list.ur \
+		$(LIB_UR)/monad.ur $(LIB_UR)/option.ur $(LIB_UR)/string.ur $(LIB_UR)/top.ur \
+		$(LIB_JS)/urweb.js \
+		$(INCLUDE)/config.h $(INCLUDE)/queue.h $(INCLUDE)/request.h $(INCLUDE)/types.h \
+		$(INCLUDE)/urweb.h \
+		$(SITELISP)/urweb-compat.el $(SITELISP)/urweb-mode.el $(SITELISP)/urweb-move.el \
+		$(SITELISP)/urweb-defs.el $(SITELISP)/urweb-mode-startup.el $(SITELISP)/urweb-util.el
+
 package:
 	hg archive -t tgz -X tests /tmp/urweb.tgz