diff options
author | Nick White <arch@njw.me.uk> | 2007-05-03 00:31:22 +0000 |
---|---|---|
committer | Nick White <arch@njw.me.uk> | 2007-05-03 00:31:22 +0000 |
commit | f811c2d4823f95d7e90f25e0e7a98e5c5abcf3e2 (patch) | |
tree | 190283d4cf1efdd3ae5ba8ecaa0b6c5b5837bec9 /Makefile | |
parent | 1edf37e3b0ad7b0556ba0902b5880044933ced66 (diff) |
Added Autotools, changed dir structure, added docs
Added (perhaps somewhat shaky) autotools support
Added tagging rules to junkify files generated by autotools
Added a directory structure
Updated README & INSTALL files to reflect changes
Wrote a man page
Changed version numbers in preparation for a release
git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-23
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 34a02db..0000000 --- a/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -PREFIX=/usr -DOCS=AUTHOR COPYING CREDITS ChangeLog INSTALL README TODO -CFLAGS+=-g `curl-config --cflags` `xml2-config --cflags` -LDFLAGS+=`curl-config --libs` `xml2-config --libs` - -all: getht - -getht: download.o config.o issuemem.o tocxml.o mediarev.o mediaxml.o xml.o - -tocxml.o mediaxml.o: xml.o - -static: - CFLAGS="$(CFLAGS) -s -static" - @echo "Not implemented yet, sorry." - -clean: - rm -rf *.o - -install: - cp getht $(PREFIX)/bin - mkdir -p $(PREFIX)/doc/getht - cp $(DOCS) $(PREFIX)/doc/getht - -uninstall: - rm $(PREFIX)/bin/getht - rm -r $(PREFIX)/doc/getht - -help: - @echo -e "Make targets:" - @echo -e "make (all)\tBuilds GetHT with default settings" - @echo -e "make install\tInstalls GetHT" - @echo -e "make uninstall\tRemoves GetHT" - @echo -e "make clean\tRemoves all object files" - @echo -e "make static\tBuilds a statically linked GetHT binary" - @echo -e "make help\tPrint this help message" - -.PHONY: all clean install uninstall help |