#!/usr/bin/make -f
+BINDIR=$(DESTDIR)/usr/bin
+MANDIR=$(DESTDIR)/usr/man
+
package=mythtv-status
releases=sid
release=sid
upload: $(RELEASE_FILES)
for release in $(releases); do cd build/$$release; dput $(package)_$(deb_version)*.changes; done
+install:
+ install -d $(BINDIR)
+ install -d $(MANDIR)/man1
+ install -m 775 bin/mythtv-status $(BINDIR)
+ install -m 775 bin/mythtv_recording_now $(BINDIR)
+ install -m 775 bin/mythtv_recording_soon $(BINDIR)
+ pod2man bin/mythtv-status > $(MANDIR)/man1/mythtv-status.1
+ install -m 644 man/mythtv_recording_now.1 $(MANDIR)/man1
+ install -m 644 man/mythtv_recording_soon.1 $(MANDIR)/man1
+
test:
PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE))" $(TEST_FILES)
@rm -rf build
@rm -f ../$(package)*.changes ../$(package)*.dsc ../$(package)*.tar.gz ../$(package)*.deb
-.PHONY: release clean sponsor
+.PHONY: release clean sponsor install test