Get DESTDIR from the environment and add distclean target. (#378)
autoconf-based packages conventionally respect the DESTDIR environment variable rather needing to explicitly override it. Likewise the distclean target is conventionally named distclean rather than dist-clean. This change adds a top-level alias to be compatible. These changes are needed to build bochs on my infrastructure without having to special case bochs or locally patch it.
This commit is contained in:
parent
5767dd64ab
commit
3932aeac12
@ -35,8 +35,6 @@ sharedir = $(datarootdir)/bochs
|
||||
top_builddir = .
|
||||
top_srcdir = $(srcdir)
|
||||
|
||||
DESTDIR =
|
||||
|
||||
VERSION=@VERSION@
|
||||
REL_STRING=@REL_STRING@
|
||||
MAN_PAGE_1_LIST=bochs bximage bochs-dlx
|
||||
@ -606,6 +604,8 @@ all-clean: clean @CLEAN_DOCBOOK_VAR@ @CLEAN_PCIDEV_VAR@
|
||||
$(MAKE) clean
|
||||
@CD_UP_ONE@
|
||||
|
||||
distclean: dist-clean
|
||||
|
||||
dist-clean: local-dist-clean
|
||||
cd iodev @COMMAND_SEPARATOR@
|
||||
$(MAKE) dist-clean
|
||||
|
@ -26,8 +26,6 @@ SGML_VALIDATE = nsgmls -s
|
||||
DOCBOOK2HTML = $(JADE) $(JADE_ARGS)
|
||||
endif
|
||||
|
||||
DESTDIR=
|
||||
|
||||
# name of the major documentation sections
|
||||
SECTIONS=user documentation development
|
||||
SECTION_HTML=$(SECTIONS:%=%/index.html)
|
||||
|
Loading…
Reference in New Issue
Block a user