summaryrefslogtreecommitdiff
path: root/xpp/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/utils/Makefile')
-rw-r--r--xpp/utils/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile
index a49818b..96b37db 100644
--- a/xpp/utils/Makefile
+++ b/xpp/utils/Makefile
@@ -46,12 +46,12 @@ CFLAGS = -g -Wall $(EXTRA_CFLAGS)
%.8: %
pod2man --section 8 $^ > $@ || $(RM) $@
-PERL_SCRIPTS = zt_registration xpp_sync lszaptel
-PERL_MANS = zt_registration.8 xpp_sync.8 lszaptel.8
+PERL_SCRIPTS = zt_registration xpp_sync lszaptel xpp_blink
+PERL_MANS = $(PERL_SCRIPTS:%=%.8)
-TARGETS = init_fxo_modes print_modes adj_clock
-PROG_INSTALL = genzaptelconf adj_clock
-MAN_INSTALL = genzaptelconf.8 adj_clock.8
+TARGETS = init_fxo_modes print_modes
+PROG_INSTALL = genzaptelconf
+MAN_INSTALL = genzaptelconf.8
ifeq (1,$(PBX_LIBUSB))
TARGETS += libhexfile.a fpga_load test_parse
PROG_INSTALL += fpga_load
@@ -60,17 +60,14 @@ endif
ifneq (,$(PERLLIBDIR))
PROG_INSTALL += $(PERL_SCRIPTS)
MAN_INSTALL += $(PERL_MANS)
+TARGETS += $(PERL_MANS)
endif
all: $(TARGETS)
docs: $(PERL_MANS)
-# give an ugly warning if Timer::Hires is missing:
-sanity_checks:
- perl -c ../calibrate_slics >/dev/null || true
-
-install: all sanity_checks
+install: all
$(INSTALL) -d $(DESTDIR)$(SBINDIR)
$(INSTALL) $(PROG_INSTALL) $(DESTDIR)$(SBINDIR)/
$(INSTALL) -d $(DESTDIR)$(DATADIR)