diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-05 13:11:53 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-05 13:11:53 +0000 |
commit | a420a9a9208db5bffb08012e25250ed2ae8a8947 (patch) | |
tree | f849fa82cd1a21a1215c97655ac77e117875a986 /doc/faq/Makefile.am | |
parent | ebf1669d062f8e104323f2c2a3527fcd31f61bd9 (diff) | |
download | xine-lib-a420a9a9208db5bffb08012e25250ed2ae8a8947.tar.gz xine-lib-a420a9a9208db5bffb08012e25250ed2ae8a8947.tar.bz2 |
fixing a copyright, bringing back the old READMEs to the xine-lib tarball, improve makefiles so hopefully documentation is installed in the right place, add text version of the faq
CVS patchset: 3783
CVS date: 2003/01/05 13:11:53
Diffstat (limited to 'doc/faq/Makefile.am')
-rw-r--r-- | doc/faq/Makefile.am | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index 291e4718b..9a3d5079a 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -1,7 +1,32 @@ -EXTRA_DIST = README faq.sgml - +EXTRA_DIST = $(docs_DOCS) README faq.sgml docdir = $(prefix)/share/doc/xine/faq +docs_DOCS = faq.html faq.txt + + +install-data-local: + @documentations='$(docs_DOCS)'; \ + for doc in $$documentations; do \ + destdir=$(DESTDIR)$(docdir); \ + name=`echo $$doc` \ + dir=$$destdir; \ + $(mkinstalldirs) $$dir; \ + $(INSTALL_DATA) $$doc $$dir/$$name; \ + echo "installing $$doc as $$dir/$$name"; \ + done + +uninstall-local: + @documentations='$(docs_DOCS)'; \ + for doc in $$documentations; do \ + destdir=$(DESTDIR)$(docdir); \ + name=`echo $$doc` \ + dir=$$destdir; \ + rm -f $$dir/$$name; \ + echo "removing $$dir/$$name" ; \ + done + +debug: +install-debug: install mostlyclean-generic: -rm -f *~ \#* .*~ .\#* |