chiark / gitweb /
Bump version to 7.0.1~iwj0
[chiark-utils.git] / scripts / Makefile
index 4f7a2254b98ff8f0bbe3079fc9a04ec5a3edc909..68c89b479e6b7227c1e0494dff27d124f85dbb11 100644 (file)
 # details.
 #
 # You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# with this program; if not, consult the Free Software Foundation's
+# website at www.fsf.org, or the GNU Project website at www.gnu.org.
 
 include ../settings.make
 
 SCRIPTS=       palm-datebook-reminders random-word expire-iso8601 \
                genspic2gnuplot gnucap2genspic ngspice2genspic \
                cvs-repomove cvs-adjustroot remountresizereiserfs \
-               hexterm summarise-mailbox-preserving-privacy
-MANPAGES1=     palm-datebook-reminders
+               hexterm summarise-mailbox-preserving-privacy \
+               git-cache-proxy git-branchmove nntpid
+
+MANPAGES1=     palm-datebook-reminders git-branchmove
 
 CSCRIPTS=      named-conf
 CMANPAGES8=    named-conf
 
+PERLMODULES=   Chiark/NNTP Proc/Prefork/Interp
+
 all:
 
 install:
@@ -38,17 +42,25 @@ 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-docs: $(addsuffix .1,$(MANPAGES1))
                $(INSTALL_DIRECTORY) $(man1dir) $(man8dir)
                set -e; for f in $(MANPAGES1); do \
                        $(INSTALL_SHARE) $$f.1 $(man1dir)/$$f.1; done
                set -e; for f in $(CMANPAGES8); do \
                        $(INSTALL_SHARE) $$f.8 $(man8dir)/chiark-$$f.8; done
 
+git-branchmove.1: git-branchmove
+       pod2man git-branchmove >git-branchmove.1
+
 install-examples:
 
 clean:
                rm -f *~ ./#*#
+               rm -f git-branchmove.1
 
 distclean realclean:   clean