| 1 | include $(top_rulesdir)/Makefile.inc |
| 2 | |
| 3 | # Default target (all) includes running tests. If this is not wanted |
| 4 | # (e.g. for cross-builds), build the bootconfig target instead. |
| 5 | ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) |
| 6 | BUILD_TARGET := all |
| 7 | else |
| 8 | BUILD_TARGET := $(CURDIR)/bootconfig |
| 9 | endif |
| 10 | |
| 11 | all: |
| 12 | $(MAKE_UPSTREAM) $(BUILD_TARGET) |
| 13 | |
| 14 | install: |
| 15 | mkdir -p $(DESTDIR)/usr/bin |
| 16 | $(MAKE_UPSTREAM) install |