diff --git a/ChangeLog b/ChangeLog index cb6fe3f2a..ddc838998 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-06-08 Felix Zielcke + + * Makefile.in (uninstall): Remove all $include_DATA files. + 2009-06-08 Felix Zielcke * commands/true.c: New file. Implement the true and false commands. diff --git a/Makefile.in b/Makefile.in index da2ec4803..0be40f57e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -310,6 +310,13 @@ uninstall: dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \ rm -f $(DESTDIR)$(sysconfdir)/grub.d/$$dest; \ done + @list='$(include_DATA)'; \ + for file in $$list; do \ + echo $$file; \ + dest="`echo $$file | sed 's,include/,,'`"; \ + echo $$dest; \ + rm -f $(DESTDIR)$(includedir)/$$dest; \ + done clean: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)