version 1.4, 2014/03/29 11:15:57 |
version 1.5, 2014/03/29 11:19:22 |
|
|
VERSION = 0.0.3 |
VERSION = 0.0.3 |
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 |
|
|
docbook2mdoc: docbook2mdoc.o |
docbook2mdoc: docbook2mdoc.o |
$(CC) -o $@ docbook2mdoc.o -lexpat |
$(CC) -o $@ docbook2mdoc.o -lexpat |
|
|
www: docbook2mdoc index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) |
www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) |
|
|
installwww: www |
installwww: www |
mkdir -p $(PREFIX)/snapshots |
mkdir -p $(WWWPREFIX)/snapshots |
install -m 0444 index.html docbook2mdoc.1.html $(PREFIX) |
install -m 0444 index.html docbook2mdoc.1.html $(WWWPREFIX) |
install -m 0444 docbook2mdoc-$(VERSION).tgz $(PREFIX)/snapshots |
install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots |
install -m 0444 docbook2mdoc-$(VERSION).tgz $(PREFIX)/snapshots/docbook2mdoc.tgz |
install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots/docbook2mdoc.tgz |
|
|
dist: docbook2mdoc-$(VERSION).tgz |
dist: docbook2mdoc-$(VERSION).tgz |
|
|
|
|
|
|
as.html: |
as.html: |
./docbook2mdoc as.xml | mandoc -Thtml > $@ |
./docbook2mdoc as.xml | mandoc -Thtml > $@ |
|
|
|
$(BUILT): docbook2mdoc |
|
|
clean: |
clean: |
rm -f docbook2mdoc docbook2mdoc.o |
rm -f docbook2mdoc docbook2mdoc.o |