[java-policy] 44/198: Fixed build problem. Almost fixed publish problem.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 23 07:49:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository java-policy.

commit 704f660df23868ed9a5c6960716af6e943042990
Author: Ola Nordmann <olapc at yahoo.no>
Date:   Wed Sep 25 06:51:52 2002 +0000

    Fixed build problem. Almost fixed publish problem.
---
 Makefile         | 20 +++++++++++++++-----
 debian/changelog |  1 +
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 125b2a2..f9fb945 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,9 @@ LANG=C
 LC_CTYPE=C
 
 all: debian-java-policy debian-java-faq-gen
+
 publish: policy.html
-	scp debian-java-policy/*.html opal at people.debian.org:public_html/java/policy.html
+	scp debian-java-policy/*.html opal at www.debian.org:/org/www.debian.org/www/doc/packaging-manuals/java-policy
 
 # Policy part
 MAKEOUT=policy.txt policy.ps
@@ -37,11 +38,14 @@ policy.dvi: policy.xml
 policy.ps: policy.dvi
 	$(DVIPS) -f $< > $@
 
-policy.html: policy.xml
+policy.html: debian-java-policy/index.html
+
+debian-java-policy/index.html: policy.xml
 	# docbook and dsl file needs to be in that dir for things to work.
 	# The png file is copied there so it can be referenced in a proper way.
+	#
+	# This is no longer true.
 	mkdir -p debian-java-policy
-	cp $^ html
 	jw -b html $(DSL) -o debian-java-policy $<
 	# To make that file the intdex.
 	(cd debian-java-policy; rm -f $^)
@@ -51,7 +55,12 @@ policy.txt: policy.xml
 	lynx -force_html -dump dump.html > $@
 	-rm -f dump.html
 
-install: debian-java-policy-install debian-java-faq-install
+install: debian-java-policy-install debian-java-faq-install dummy-install
+
+dummy-install:
+	mkdir -p $(PUBLISHDIR)/dummy-packages
+	cp dummy/README $(PUBLISHDIR)/dummy-packages
+	cp dummy/*.control $(PUBLISHDIR)/dummy-packages
 
 debian-java-policy-install:
 	install -m 0444 $(OUTPUTS) $(PUBLISHDIR)
@@ -59,7 +68,8 @@ debian-java-policy-install:
 	ln -s debian-java-policy $(PUBLISHDIR)/html
 
 clean: debian-java-faq
-	-rm -Rf debian-java-policy.html
+	-rm -Rf debian-java-policy
+	-rm -Rf policy.html
 	-rm -f $(MAKEOUT)
 	-rm -f policy.dvi
 	(cd $<; make clean)
diff --git a/debian/changelog b/debian/changelog
index 629c30a..5dad6d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ java-common (0.15) unstable; urgency=low
     a dummy package, closes: #159483. Thanks to
     "Grzegorz Prokopski (Debian Developer)" <gadek at debian.org>.
   * Fixed typo, closes: #160735.
+  * Updated debian-java-faq.
 
  -- Ola Lundqvist <opal at debian.org>  Wed, 25 Sep 2002 07:41:45 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-policy.git



More information about the pkg-java-commits mailing list