fall back to running 'clean' from Makefile.legacy
If Makefile wasn't yet created, it's possible that we may want to run the 'clean' target of Makefile.legacy to clean generated HTML docs.
This commit is contained in:
parent
b2d27998c4
commit
955a8dcb4a
|
@ -29,6 +29,12 @@ override_dh_auto_build:
|
|||
# FIXME: xpp/README.Astribank.html
|
||||
cp dahdi.rules debian/dahdi.udev
|
||||
|
||||
override_dh_auto_clean:
|
||||
ifeq ($(wildcard Makefile),)
|
||||
$(MAKE) -f Makefile.legacy clean
|
||||
else
|
||||
$(MAKE) clean
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
# also run the 'config' target, in addition to the 'install' target:
|
||||
|
|
Loading…
Reference in New Issue