diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 12:22:22 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 12:22:22 +0100 |
commit | 1932c998cac488d6ba27789fea56bcf3a554a35c (patch) | |
tree | 39304ac27f408d58095d07634fbba6520efd5d21 /Makefile | |
parent | e1e7a58aa6983261757affa1b146d6ce20742a69 (diff) |
Switch from Makefile to Build.PL
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 1879fd1..0000000 --- a/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -PREFIX ?= /usr/local - -main_dir = ${DESTDIR}${PREFIX} -bin_dir = ${main_dir}/bin -man_dir = ${main_dir}/share/man - -all: build/comirror.1 build/comirror-setup.1 - -build/%.1: bin/% - @echo POD $< - @mkdir -p build - @pod2man $< > $@ - -install: all - @echo Installing executables to ${bin_dir} - @echo Installing manuals to ${man_dir} - @mkdir -p ${bin_dir} ${man_dir}/man1 - @cp bin/comirror ${bin_dir}/comirror - @cp bin/comirror-setup ${bin_dir}/comirror-setup - @cp build/comirror.1 ${man_dir}/man1/comirror.1 - @cp build/comirror-setup.1 ${man_dir}/man1/comirror-setup.1 - @chmod 755 ${bin_dir}/comirror ${bin_dir}/comirror-setup - @chmod 644 ${man_dir}/man1/comirror.1 ${man_dir}/man1/comirror-setup.1 - -test: - @prove test - -uninstall: - rm -f ${bin_dir}/comirror ${bin_dir}/comirror-setup - rm -f ${man_dir}/man1/comirror.1 ${man_dir}/man1/comirror-setup.1 - -clean: - rm -rf build - -.PHONY: all clean install test uninstall |