[java-policy] 25/198: Updated the publish code.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 23 07:49:26 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 7043b8849069521114f64a0a43e35cae276bdce7
Author: Ola Nordmann <olapc at yahoo.no>
Date:   Tue Feb 5 15:34:54 2002 +0000

    Updated the publish code.
---
 Makefile   | 4 ++--
 publish.sh | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index ad46ab5..529f8f7 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@
 # Some default variables
 DOC = usr/share/doc
 DVIPS=dvips
-PUBLISHDIR = $(DESTDIR)/$(DOC)/java-common
+PUBLISHDIR=$(DESTDIR)/$(DOC)/java-common
 #DSLF=work.dsl
 #DSL=-d $(DSLF)
 # Default language to use
@@ -67,7 +67,7 @@ debian-java-faq-gen: debian-java-faq
 
 # Change the publish dir if you want to send it to a new package.
 debian-java-faq-install: debian-java-faq debian-java-faq-gen
-	(cd $<; make publish PUBLISHDIR=$(DESTDIR)/$(DOC)/java-common)
+	(cd $<; make publish PUBLISHDIR=$(PUBLISHDIR))
 
 debian-java-faq:
 	(cvs -d :pserver:anonymous at cvs.debian.org:/cvs/debian-doc -z3 checkout -d debian-java-faq ddp/manuals.sgml/java-faq)
diff --git a/publish.sh b/publish.sh
index 48089c9..0c6fe4c 100755
--- a/publish.sh
+++ b/publish.sh
@@ -1,5 +1,4 @@
 #!/bin/sh
 
 make policy.html
-FILES="$(find . -maxdepth 1 -type f -name '*.html' -printf '%f ')"
-scp $FILES opal at people.debian.org:public_html/java
+scp debian-java-policy.html/*html opal at people.debian.org:public_html/java

-- 
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