X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=b6bec636df90f382aba6403eef51f17ef00ca047;hb=6ae536258977b8a38bd7c58ad9a86fec5e4feece;hp=2487b2ef8f48a17c234d7910ca4d3331959a6152;hpb=fb019a0e4d28fe381ce8142f3ec00a6e8731e094;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 2487b2ef..b6bec636 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,7 @@ libsigrok_la_SOURCES = \ src/trigger.c \ src/soft-trigger.c \ src/analog.c \ + src/fallback.c \ src/strutil.c \ src/log.c \ src/version.c \ @@ -420,7 +421,8 @@ tests_check_main_SOURCES = \ tests/check_strutil.c \ tests/check_version.c \ tests/check_driver_all.c \ - tests/check_device.c + tests/check_device.c \ + tests/check_trigger.c tests_check_main_CFLAGS = @check_CFLAGS@ @@ -502,8 +504,11 @@ $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \ | grep -v "command line option.*Wstrict-prototypes"; true $(AM_V_at)touch $(PDIR)/timestamp -python-install: - cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix) +$(DESTDIR)$(prefix): + $(MKDIR_P) $@ + +python-install: $(DESTDIR)$(prefix) + cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix) `test "$(DESTDIR)" && echo --root=$(DESTDIR)` python-clean: $(AM_V_at)$(MAKE) python-quietclean