summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-07-18 10:18:13 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-07-18 10:18:13 +0000
commit78a7ca38e25c940f034c1cc95a510bfd31a92f47 (patch)
tree55713a3cf2f56c83593f66b1f3c7d2b06cf0d150 /Makefile.in
parentfec91df889939ac235f95de38865e40460033616 (diff)
downloadquilt-78a7ca38e25c940f034c1cc95a510bfd31a92f47.tar.gz
- quilt/annotate.in: Fix case where the file is created/deleted
by a patch. - Makefile.in: add uninstall target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index a7eb688..4089f20 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -232,8 +232,8 @@ install : scripts
@INSTALL@ -m 755 $(QUILT:%=quilt/%) $(BUILD_ROOT)$(QUILT_DIR)/
@INSTALL@ -d $(BUILD_ROOT)$(SCRIPTS_DIR)
- @INSTALL@ -m 755 $(filter-out scripts/patchfns, \
- $(SCRIPTS:%=scripts/%)) \
+ @INSTALL@ -m 755 $(patsubst %,scripts/%, \
+ $(filter-out patchfns,$(SCRIPTS))) \
$(BUILD_ROOT)$(SCRIPTS_DIR)
@INSTALL@ -m 644 scripts/patchfns $(BUILD_ROOT)$(SCRIPTS_DIR)
@@ -257,6 +257,17 @@ install : scripts
@INSTALL@ -m 644 bash_completion $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt
@INSTALL@ -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/
+uninstall:
+ rm -rf $(BIN:%=$(BUILD_ROOT)$(bindir)/%) \
+ $(BUILD_ROOT)$(QUILT_DIR) \
+ $(patsubst %,$(BUILD_ROOT)$(mandir)/man1/%, \
+ $(notdir $(MAN1))) \
+ $(BUILD_ROOT)$(etcdir)/bash_completion.d/quilt \
+ $(BUILD_ROOT)$(etcdir)/quilt.quiltrc \
+ $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/
+ $(MAKE_NLS) -C po uninstall BUILD_ROOT=$(BUILD_ROOT) \
+ LINGUAS="$(LINGUAS)" localedir=$(localedir)
+
clean :
rm -f $(DIRT)