diff --git a/Makefile b/Makefile index 3afa6d0..3d0e9d3 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ dist: $(PACKAGE)-$(VERSION)/doc/Makefile \ $(PACKAGE)-$(VERSION)/doc/docbook.sh \ $(PACKAGE)-$(VERSION)/doc/camera.xml \ + $(PACKAGE)-$(VERSION)/doc/gallery.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/po/Makefile \ $(PACKAGE)-$(VERSION)/po/gettext.sh \ diff --git a/doc/Makefile b/doc/Makefile index 5a51395..4908af9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,4 @@ -TARGETS = camera.1 camera.html +TARGETS = camera.1 camera.html gallery.1 gallery.html PREFIX = /usr/local DESTDIR = RM = rm -f @@ -15,9 +15,15 @@ camera.1: camera.xml camera.html: camera.xml ./docbook.sh -P "$(PREFIX)" -- "camera.html" +gallery.1: gallery.xml + ./docbook.sh -P "$(PREFIX)" -- "gallery.1" + +gallery.html: gallery.xml + ./docbook.sh -P "$(PREFIX)" -- "gallery.html" + clean: - $(RM) -- $(camera.1_OBJS) $(camera.html_OBJS) - ./docbook.sh -c -P "$(PREFIX)" -- "camera.html" + $(RM) -- $(camera.1_OBJS) $(camera.html_OBJS) $(gallery.1_OBJS) $(gallery.html_OBJS) + ./docbook.sh -c -P "$(PREFIX)" -- "gallery.html" distclean: clean $(RM) -- $(TARGETS) @@ -25,9 +31,13 @@ distclean: clean install: $(TARGETS) ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "camera.1" ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "camera.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "gallery.1" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "gallery.html" uninstall: ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "camera.1" ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "camera.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "gallery.1" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "gallery.html" .PHONY: all clean distclean install uninstall diff --git a/doc/gallery.xml b/doc/gallery.xml new file mode 100644 index 0000000..0ace3ed --- /dev/null +++ b/doc/gallery.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + +]> + + + &title; + &package; + + + &firstname; + &surname; + Code and documentation. +
+ &email; +
+
+
+ + 2013 + &firstname; &surname; <&email;> + + + This manual page was written for the DeforaOS project (and may be + used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 3 as published by the Free Software Foundation. + +
+ + &name; + §ion; + + + &name; + &purpose; + + + + &name; + + + + Description + &name; is a webcam application, with the ability to + take pictures. + + + Options + This program does not accept any options from the command line. + + + Bugs + Issues can be listed and reported at . + + + See also + + + browser + 1 + , + + camera + 1 + + + +
+ diff --git a/doc/project.conf b/doc/project.conf index 269e60e..e07e80a 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ -targets=camera.1,camera.html -dist=Makefile,docbook.sh,camera.xml +targets=camera.1,camera.html,gallery.1,gallery.html +dist=Makefile,docbook.sh,camera.xml,gallery.xml [camera.1] type=script @@ -12,3 +12,15 @@ type=script script=./docbook.sh install= depends=camera.xml + +[gallery.1] +type=script +script=./docbook.sh +install= +depends=gallery.xml + +[gallery.html] +type=script +script=./docbook.sh +install= +depends=gallery.xml