X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=6b76b075fa2df2b7ec6c55678a49ecae73857c76;hp=190e1fc384ec8da748bfa89635eafd33face5d5b;hb=2bb9fcbfa99cf30a6f46ba33fd95c0a456a225cc;hpb=4e019da20423f735b1fe2f6ac43a599a79c0c4c9;ds=sidebyside diff --git a/Makefile.in b/Makefile.in index 190e1fc3..6b76b075 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,40 +53,21 @@ BINARIES = para_server para_client para_audioc para_recv \ para_filter para_write para_fsck @extra_binaries@ man_binaries := $(BINARIES) man_pages := $(patsubst %, man/man1/%.1, $(man_binaries)) -man_pages_html := $(patsubst %, man/html/%.html, $(man_binaries)) man_pages_in := $(patsubst %, web/%.man.in.html, $(man_binaries)) gengetopts := $(wildcard *.ggo) gengetopts_c := $(gengetopts:.ggo=.cmdline.c) gengetopts_h := $(gengetopts:.ggo=.cmdline.h) -grutatxt := NEWS CREDITS INSTALL README FEATURES REQUIREMENTS README.afs -grutatxt_html := $(grutatxt:=.html) -html_in := $(wildcard web/*.in.html) $(man_pages_in) -gen_html := $(subst web/,web/sync/,$(html_in)) -gen_html := $(gen_html:.in.html=.html) -gruta_in := $(grutatxt:=.in.html) -gruta_in := $(patsubst %,web/%,$(gruta_in)) -gruta_html := $(grutatxt:=.html) -gruta_html := $(patsubst %,web/sync/%,$(gruta_html)) -shots := gui-2005-11-12.png para_audiod-startup.txt para_server-startup.txt -shots := $(patsubst %,web/sync/%,$(shots)) -web_pics := web/sync/paraslash.png web/sync/paraslash.ico -web_misc := overview.pdf versions/@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2 PUBLIC_KEY \ - key.anonymous para.css -web_misc := $(patsubst %,web/sync/%,$(web_misc)) autocrap := config.h.in configure tarball_pfx := @PACKAGE_TARNAME@-@PACKAGE_VERSION@ tarball_delete = web versions pics .changelog_before_cvs .changelog_cvs .gitignore tarball_delete := $(patsubst %,$(tarball_pfx)/%,$(tarball_delete)) tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap) +tarball := @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2 -.PHONY: clean distclean maintainer-clean install html www tags doxygen gruta \ - man html_man +.PHONY: clean distclean maintainer-clean install man tarball all: $(BINARIES) -www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) \ - tags doxygen -gruta: $(gen_html) $(gruta_html) man: $(man_pages) -html_man: $(man_pages_html) +tarball: $(tarball) fade_objs = fade.cmdline.o fade.o exec.o close_on_fork.o string.o fd.o fsck_objs = osl.o rbtree.o fsck.o string.o sha1.o fsck.cmdline.o @@ -133,7 +114,7 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo audioc.ggo) O="--unamed-opts=command";; \ fsck.ggo) O="--unamed-opts=table";; \ esac; \ - echo "$O"; if test $< != fsck.ggo; then O="$$O --conf-parser "; fi; \ + if test $< != fsck.ggo; then O="$$O --conf-parser "; fi; \ gengetopt $$O \ --no-handle-version \ --file-name=$(*F).cmdline \ @@ -239,10 +220,10 @@ distclean: clean maintainer-clean: distclean rm -f $(gengetopts_c) $(gengetopts_h) *.tar.bz2 \ - $(grutatxt_html) config.h configure \ + config.h configure \ config.h.in skencil/*.pdf skencil/*.ps - rm -f *_command_list.* *.man man/man1/* man/html/* - + rm -f *_command_list.* *.man man/man1/* + rm -rf web_sync install: all man mkdir -p $(BINDIR) $(MANDIR) @@ -263,38 +244,8 @@ install: all man bzip2 -9 $(tarball_pfx).tar rm -f $(tarball_pfx).tar ls -l $(tarball_pfx).tar.bz2 - -web/%.in.html: % - grutatxt -nb < $< > $@ -tags: - rm -rf web/sync/HTML && gtags && htags -nF && mv HTML web/sync -web/header2.html: web/header.html - sed -e 's|href="|href="\.\.\/\.\./|g' \ - -e 's|SRC="|SRC="\.\.\/\.\./|g' $< > $@ -doxygen: web/header2.html - mkdir -p web/sync/doxygen - doxygen -web/sync/%.html: web/%.in.html web/header.html web/footer.html web/sync - mkdir -p web/sync - cat web/header.html $< web/footer.html > $@ -web/sync/%: pics/web/% - mkdir -p web/sync - cp $< $@ -web/sync/%: pics/screenshots/% - mkdir -p web/sync - cp $< $@ -web/sync/%: web/% - mkdir -p web/sync - cp $< $@ -web/sync/%: % - mkdir -p web/sync - cp -a $< $@ -web/sync/versions/@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2: @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2 web/sync - cp -a versions web/sync && cp $< $@ -web/sync/overview.pdf: skencil/overview.sk - mkdir -p web/sync - cp $< $@ %.ps: %.sk sk2ps $< > $@ %.pdf: %.ps ps2pdf - - < $< > $@ +