]> sourceware.org Git - automake.git/commitdiff
Wrote uninstall targets
authorTom Tromey <tromey@redhat.com>
Wed, 22 Nov 1995 08:43:14 +0000 (08:43 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 Nov 1995 08:43:14 +0000 (08:43 +0000)
data.am
lib/am/data.am

diff --git a/data.am b/data.am
index 240a042146b1c5783f44d85a533558f0c466c309..864e88e0023cf90391f6298ee793b5ddffeae383 100644 (file)
--- a/data.am
+++ b/data.am
@@ -5,4 +5,11 @@ install-@SHORT@data: $(@LONG@)
        $(top_srcdir)/mkinstalldirs $(@DIR@)
        for p in $(@LONG@); do                  \
          $(INSTALL_DATA) $(srcdir)/$$p $(@DIR@)/$$p; \
+       done
+
+uninstall:: install-@SHORT@data
+
+uninstall-@SHORT@data:
+       for p in $(@LONG@); do                  \
+         rm -f $(@DIR@)/$$p;                   \
        done
\ No newline at end of file
index 240a042146b1c5783f44d85a533558f0c466c309..864e88e0023cf90391f6298ee793b5ddffeae383 100644 (file)
@@ -5,4 +5,11 @@ install-@SHORT@data: $(@LONG@)
        $(top_srcdir)/mkinstalldirs $(@DIR@)
        for p in $(@LONG@); do                  \
          $(INSTALL_DATA) $(srcdir)/$$p $(@DIR@)/$$p; \
+       done
+
+uninstall:: install-@SHORT@data
+
+uninstall-@SHORT@data:
+       for p in $(@LONG@); do                  \
+         rm -f $(@DIR@)/$$p;                   \
        done
\ No newline at end of file
This page took 0.027108 seconds and 5 git commands to generate.