version 1.5, 2015/02/20 14:43:22 |
version 1.10, 2015/02/26 10:43:24 |
|
|
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
VERSION = 0.1.2 |
OBJS = main.o util.o |
|
SRCS = main.c util.c |
|
VERSIONS = version_0_1_1.xml |
|
VERSION = 0.1.1 |
|
PREFIX = /usr/local |
|
|
|
|
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
|
OBJS = main.o util.o |
|
SRCS = main.c util.c |
|
AFLS = afl/in/test01.texi \ |
|
afl/in/test02.texi |
|
VERSIONS = version_0_1_1.xml \ |
|
version_0_1_2.xml |
|
PREFIX = /usr/local |
|
|
all: texi2mdoc |
all: texi2mdoc |
|
|
www: index.html texi2mdoc.1.html texi2mdoc.tgz texi2mdoc.tgz.sha512 |
www: index.html texi2mdoc.1.html texi2mdoc.tgz texi2mdoc.tgz.sha512 |
|
|
install -m 0755 texi2mdoc $(DESTDIR)$(PREFIX)/bin |
install -m 0755 texi2mdoc $(DESTDIR)$(PREFIX)/bin |
install -m 0444 texi2mdoc.1 $(DESTDIR)$(PREFIX)/man/man1 |
install -m 0444 texi2mdoc.1 $(DESTDIR)$(PREFIX)/man/man1 |
|
|
installwww: |
installwww: www |
mkdir -p $(PREFIX)/snapshots |
mkdir -p $(PREFIX)/snapshots |
install -m 0444 index.html texi2mdoc.1.html $(PREFIX) |
install -m 0444 index.html texi2mdoc.1.html $(PREFIX) |
install -m 0444 texi2mdoc.tgz texi2mdoc.tgz.sha512 $(PREFIX)/snapshots |
install -m 0444 texi2mdoc.tgz texi2mdoc.tgz.sha512 $(PREFIX)/snapshots |
Line 36 index.html: index.xml $(VERSIONS) |
|
Line 40 index.html: index.xml $(VERSIONS) |
|
sblg -o- -t index.xml $(VERSIONS) | sed "s!@VERSION@!$(VERSION)!g" >$@ |
sblg -o- -t index.xml $(VERSIONS) | sed "s!@VERSION@!$(VERSION)!g" >$@ |
|
|
texi2mdoc.1.html: texi2mdoc.1 |
texi2mdoc.1.html: texi2mdoc.1 |
mandoc -Thtml $< >$@ |
mandoc -Thtml texi2mdoc.1 >$@ |
|
|
texi2mdoc.tgz: |
texi2mdoc.tgz: |
mkdir -p .dist/texi2mdoc-$(VERSION) |
mkdir -p .dist/texi2mdoc-$(VERSION) |
install -m 0444 $(SRCS) extern.h Makefile texi2mdoc.1 .dist/texi2mdoc-$(VERSION) |
mkdir -p .dist/texi2mdoc-$(VERSION)/afl |
|
mkdir -p .dist/texi2mdoc-$(VERSION)/afl/in |
|
install -m 0644 $(SRCS) extern.h Makefile texi2mdoc.1 .dist/texi2mdoc-$(VERSION) |
|
install -m 0644 $(AFLS) .dist/texi2mdoc-$(VERSION)/afl/in |
|
install -m 0644 afl/mkdict.sh afl/README .dist/texi2mdoc-$(VERSION)/afl |
(cd .dist && tar zcf ../$@ texi2mdoc-$(VERSION)) |
(cd .dist && tar zcf ../$@ texi2mdoc-$(VERSION)) |
rm -rf .dist |
rm -rf .dist |
|
|