summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-02-19 19:18:31 +0000
committerjoeyh <joeyh>2006-02-19 19:18:31 +0000
commit4f1ebf7b7771af3244da916be4c6cbb33deb92d0 (patch)
tree0c80b37b878e670051554c3c2c995a2a8f5054f5 /Makefile
parented168d654253279014143df3aa3c27e436cd3930 (diff)
downloadmoreutils-4f1ebf7b7771af3244da916be4c6cbb33deb92d0.tar.gz
add
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1ffa16b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+BINS=isutf8
+PERLSCRIPTS=sponge vidir vipe ts
+MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1
+CFLAGS=-O2 -g -Wall
+CXXFLAGS=-O2 -g -Wall
+
+all: $(BINS) $(MANS)
+
+clean:
+ rm -f $(BINS) $(MANS)
+
+install:
+ mkdir -p $(PREFIX)/usr/bin
+ install -s $(BINS) $(PREFIX)/usr/bin
+ install $(PERLSCRIPTS) $(PREFIX)/usr/bin
+
+ mkdir -p $(PREFIX)/usr/share/man/man1
+ install $(MANS) $(PREFIX)/usr/share/man/man1
+
+check: isutf8
+ ./check-isutf8
+
+isutf8.1: isutf8.docbook
+ docbook2x-man isutf8.docbook
+
+%.1: %
+ pod2man --center=" " --release="moreutils" $< > $@;