version 1.6, 2014/03/29 11:20:10 |
version 1.9, 2014/03/30 18:17:21 |
|
|
VERSION = 0.0.3 |
VERSION = 0.0.5 |
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
BUILT = printf.html iovec.html ls.html as.html |
BUILT = printf.html iovec.html ls.html as.html |
WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc |
WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc |
|
|
docbook2mdoc: docbook2mdoc.o |
docbook2mdoc: docbook2mdoc.o rules.o |
$(CC) -o $@ docbook2mdoc.o -lexpat |
$(CC) -o $@ docbook2mdoc.o rules.o -lexpat |
|
|
www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) |
www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) |
|
|
Line 18 dist: docbook2mdoc-$(VERSION).tgz |
|
Line 18 dist: docbook2mdoc-$(VERSION).tgz |
|
|
|
docbook2mdoc-$(VERSION).tgz: |
docbook2mdoc-$(VERSION).tgz: |
mkdir -p .dist/docbook2mdoc-$(VERSION) |
mkdir -p .dist/docbook2mdoc-$(VERSION) |
install -m 0444 docbook2mdoc.c Makefile docbook2mdoc.1 .dist/docbook2mdoc-$(VERSION) |
install -m 0444 docbook2mdoc.c rules.c extern.h Makefile docbook2mdoc.1 .dist/docbook2mdoc-$(VERSION) |
(cd .dist && tar zcf ../$@ docbook2mdoc-$(VERSION)) |
(cd .dist && tar zcf ../$@ docbook2mdoc-$(VERSION)) |
rm -rf .dist |
rm -rf .dist |
|
|
|
docbook2mdoc.o rules.o: extern.h |
|
|
index.html: index.xml |
index.html: index.xml |
sed "s!@VERSION@!$(VERSION)!g" index.xml >$@ |
sed "s!@VERSION@!$(VERSION)!g" index.xml >$@ |
|
|
|
|
$(BUILT): docbook2mdoc |
$(BUILT): docbook2mdoc |
|
|
clean: |
clean: |
rm -f docbook2mdoc docbook2mdoc.o |
rm -f docbook2mdoc docbook2mdoc.o rules.o |
rm -rf docbook2mdoc.dSYM |
rm -rf docbook2mdoc.dSYM |
rm -f $(BUILT) index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz |
rm -f $(BUILT) index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz |