[debian-edu-commits] debian-edu/debian-edu-doc.git (#51) - wheezy (branch) updated: 0.4.20070713-8-ge5721a9

David Prévot taffit at alioth.debian.org
Sat Oct 5 12:11:51 UTC 2013


The branch, wheezy has been updated
       via  e5721a9b6b0345e36ff3f9a803262f50d6813f1e (commit)
      from  b0b4942fd95353cea8cffd530f61c5203942e6bd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                      |    3 ++-
 debian/rules                          |   10 ++++++++--
 documentation/release-manual/Makefile |   19 +++++++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 documentation/release-manual/Makefile

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 86a8cb4..051e49b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,8 @@ debian-edu-doc (0.4.20070714) UNRELEASED; urgency=low
   * Avoid removing the documentation/ directory during build, and
     keep the files fetched by the update until explicitly removed.
   * Update translation files for release-manual.
-  * Update build rules for release-manual.
+  * Update build rules for release-manual and install them as part
+    of this package.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sat, 14 Jul 2007 11:12:04 +0100
 
diff --git a/debian/rules b/debian/rules
index 46d5dfe..ebfdd86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DESTDIR = debian/debian-edu-doc
+DESTDIR := $(shell pwd)/debian/debian-edu-doc
 SRCDIR  = documentation
 DESTPATH = /usr/share/doc/debian-edu-doc
 REVISION= "{2007-05-17}"
@@ -16,12 +16,13 @@ update:
 	wget http://developer.skolelinux.no/itil/moinmoin2pdf -O $(TMPSRC)/moinmoin2pdf
 	chmod +x $(TMPSRC)/moinmoin2pdf
 
-	cd documentation/release-manual; ./update_translations; ./build_pdfs        
+	$(MAKE) -C documentation/release-manual update
 	
 dist-clean: clean
 	rm $(TMPSRC) -Rf
 
 clean:
+	$(MAKE) -C documentation/release-manual clean
 	rm -f build-stamp
 	rm -rf $(DESTDIR)
 	dh_clean
@@ -83,6 +84,11 @@ install: build
 	$(TMPSRC)/moinmoin2pdf http://wiki.skolelinux.no/Dokumentasjon/ITIL/AllInOne  $(DESTDIR)$(DESTPATH)/nb/itil/itil-$$(date +%Y-%m-%d).pdf
 
 	#
+	# release manual
+	#
+	$(MAKE) -C documentation/release-manual install DESTDIR=$(DESTDIR)
+
+	#
 	# kurs 
 	#
 	#
diff --git a/documentation/release-manual/Makefile b/documentation/release-manual/Makefile
new file mode 100644
index 0000000..babc56b
--- /dev/null
+++ b/documentation/release-manual/Makefile
@@ -0,0 +1,19 @@
+DESTDIR=
+DESTPATH = /usr/share/doc/debian-edu-doc
+
+all: build
+build:
+	./build_pdfs
+update:
+	./get_release-manual
+	./update_translations
+
+install: build
+	for f in en es ; do \
+		mkdir -p $(DESTDIR)$(DESTPATH)/$$f/release-manual; \
+		cp release-manual.$$f.pdf $(DESTDIR)$(DESTPATH)/$$f/release-manual/. ; \
+	done
+
+clean:
+	rm -f *.pdf
+	rm -f release-manual.*.xml


hooks/post-receive
-- 
debian-edu-doc.git (Debian package debian-edu-doc)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "debian-edu-doc.git" (Debian package debian-edu-doc).




More information about the debian-edu-commits mailing list