From f994c778d8e307d99884e8554a361dd4ddb0e106 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 21 Apr 2002 04:26:11 +0000 Subject: [PATCH] fixed some uninstall issues --- data/Makefile.am | 4 ++++ data/Makefile.in | 3 +++ data/styles/Makefile.am | 2 ++ data/styles/Makefile.in | 2 ++ 4 files changed, 11 insertions(+) diff --git a/data/Makefile.am b/data/Makefile.am index 3fdf19d2..745d8e53 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -15,3 +15,7 @@ menu: menu.in install-data-local: menu test -f $(DESTDIR)$(pkgdatadir)/menu || \ $(INSTALL_DATA) menu $(DESTDIR)$(pkgdatadir) + +uninstall-am: + rm -f $(DESTDIR)$(pkgdatadir)/menu + diff --git a/data/Makefile.in b/data/Makefile.in index a7e35d44..a21707f9 100644 --- a/data/Makefile.in +++ b/data/Makefile.in @@ -303,6 +303,9 @@ install-data-local: menu test -f $(DESTDIR)$(pkgdatadir)/menu || \ $(INSTALL_DATA) menu $(DESTDIR)$(pkgdatadir) +uninstall-am: + rm -f $(DESTDIR)$(pkgdatadir)/menu + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/data/styles/Makefile.am b/data/styles/Makefile.am index 3a5ec06a..31458285 100644 --- a/data/styles/Makefile.am +++ b/data/styles/Makefile.am @@ -6,3 +6,5 @@ style_DATA = artwiz bluebox cthulhain deep flux frobozz frobust nyz nyzclone ope distclean-local: rm -f *\~ +uninstall-am: + rmdir $(styledir) diff --git a/data/styles/Makefile.in b/data/styles/Makefile.in index 74014486..9aa59d62 100644 --- a/data/styles/Makefile.in +++ b/data/styles/Makefile.in @@ -209,6 +209,8 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean distclean-local: rm -f *\~ +uninstall-am: + rmdir $(styledir) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. -- 2.39.2