2008-01-08 Robert Millan <rmh@aybabtu.com>
* Makefile.in (uninstall): Handle `$(update-grub_SCRIPTS)' and `$(update-grub_DATA)'. (distcheck): Fix race condition when invoking `$(MAKE)' on multiple targets.
This commit is contained in:
parent
9ca7033376
commit
7076340d08
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-01-08 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* Makefile.in (uninstall): Handle `$(update-grub_SCRIPTS)' and
|
||||||
|
`$(update-grub_DATA)'.
|
||||||
|
(distcheck): Fix race condition when invoking `$(MAKE)' on multiple
|
||||||
|
targets.
|
||||||
|
|
||||||
2008-01-07 Robert Millan <rmh@aybabtu.com>
|
2008-01-07 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* boot/i386/pc/boot.S (boot_drive_check): Add a comment indicating
|
* boot/i386/pc/boot.S (boot_drive_check): Add a comment indicating
|
||||||
|
|
|
@ -219,6 +219,10 @@ uninstall:
|
||||||
dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \
|
dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \
|
||||||
rm -f $(DESTDIR)$(sbindir)/$$dest; \
|
rm -f $(DESTDIR)$(sbindir)/$$dest; \
|
||||||
done
|
done
|
||||||
|
@list='$(update-grub_SCRIPTS) $(update-grub_DATA)'; for file in $$list; do \
|
||||||
|
dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \
|
||||||
|
rm -f $(DESTDIR)$(sysconfdir)/grub.d/$$dest; \
|
||||||
|
done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
@ -271,11 +275,11 @@ distcheck: dist
|
||||||
dc_instdir=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
dc_instdir=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
||||||
&& cd $(distdir)/=build \
|
&& cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_instdir \
|
&& ../configure --srcdir=.. --prefix=$$dc_instdir \
|
||||||
&& $(MAKE) all dvi check install uninstall \
|
&& $(MAKE) all dvi check install && $(MAKE) uninstall \
|
||||||
&& (test `find $$dc_instdir -type f -print | wc -l` -le 1 \
|
&& (test `find $$dc_instdir -type f -print | wc -l` -le 1 \
|
||||||
|| (echo "Error: files left after uninstall" 1>&2; \
|
|| (echo "Error: files left after uninstall" 1>&2; \
|
||||||
exit 1)) \
|
exit 1)) \
|
||||||
&& $(MAKE) dist distclean \
|
&& $(MAKE) dist && $(MAKE) distclean \
|
||||||
&& rm -f $(distdir).tar.gz \
|
&& rm -f $(distdir).tar.gz \
|
||||||
&& (test `find . -type f -print | wc -l` -eq 0 \
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
||||||
|| (echo "Error: files left after distclean" 1>&2; \
|
|| (echo "Error: files left after distclean" 1>&2; \
|
||||||
|
|
Loading…
Reference in a new issue