Commit 955a8dcb authored by Tzafrir Cohen's avatar Tzafrir Cohen

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.
parent b2d27998
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment