chiark / gitweb /
nntpid: install in /usr/bin. Closes:#773651.
[chiark-utils.git] / scripts / Makefile
index 56c2440..3ab02e7 100644 (file)
@@ -25,12 +25,14 @@ SCRIPTS=    palm-datebook-reminders random-word expire-iso8601 \
                genspic2gnuplot gnucap2genspic ngspice2genspic \
                cvs-repomove cvs-adjustroot remountresizereiserfs \
                hexterm summarise-mailbox-preserving-privacy \
-               git-cache-proxy git-branchmove
+               git-cache-proxy git-branchmove nntpid
 MANPAGES1=     palm-datebook-reminders
 
 CSCRIPTS=      named-conf
 CMANPAGES8=    named-conf
 
+PERLMODULES=   Chiark/NNTP
+
 all:
 
 install:
@@ -39,6 +41,10 @@ install:
                        $(INSTALL_SCRIPT) $$f $(bindir)/$$f; done
                set -e; for f in $(CSCRIPTS); do \
                        $(INSTALL_SCRIPT) $$f $(bindir)/chiark-$$f; done
+               set -e; for f in $(PERLMODULES); do \
+                       $(INSTALL_DIRECTORY) ${perl5dir}/$${f%/*}; \
+                       $(INSTALL_SHARE) $$f.pm $(perl5dir)/$$f.pm; done
+
 
 install-docs:
                $(INSTALL_DIRECTORY) $(man1dir) $(man8dir)