From c9f34e9bff484504d3b496dad0f944c9f659dba3 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Sun, 24 May 2009 12:18:30 +0000 Subject: [PATCH] change upload-sourceforge to new host location --- ChangeLog | 2 ++ Makefile.am | 3 ++- docs/Makefile.am | 11 +++++++---- zziplib.spec | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e06b962..15abf9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2009-05-24 guidod * zzip/fetch.c - remove SET/GET fetch definitions that already exist in zzip/fetch.h where they have been corrected lately. + * docs/Makefile.am - change from install-sf via shell.sf.net to + upload-sourceforge via web.sf.net - and alias to "www" shorthand 2009-05-23 guidod * SDL/Makefile.am - remove dependency on zzip-config (and sdl-config) diff --git a/Makefile.am b/Makefile.am index 07109f2..6efb259 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,8 @@ indent-check: doc docs docu clean-doc clean-docs clean-docu zzip.html zzip.xml zzip.pdf \ man mans manpages htmpages unpack clean-unpack changes.htm pdfs \ -omf install-omf install-doc install-docs install-sf install-man3 install-mans : +omf install-omf install-doc install-docs install-man3 install-mans \ +upload-sourceforge www: (cd docs && $(MAKE) `basename $@`) sdl testsdl test-sdl install-sdl : diff --git a/docs/Makefile.am b/docs/Makefile.am index 47ed568..54acfcd 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -85,7 +85,6 @@ zzipfseeko.xml: zziplib.spec $(srcdir)/Makefile.am \ omfdir=${datadir}/omf pkgomfdir=${omfdir}/${PACKAGE} -SFNETDIR=/groups/z/zz/zziplib/htdocs pkgdocdir=${mandir}/../doc/${PACKAGE} bins = @top_srcdir@/bins DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \ @@ -112,11 +111,15 @@ install-doc : install-docs $(PACKAGE)-doc.omf $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/ - test ".$(DESTDIR)" != "." || scrollkeeper-update -install-sf: +SOURCEFORGE_GROUP=zziplib +SOURCEFORGE_HOST=web.sourceforge.net +SOURCEFORGE_PATH=/home/groups/z/zz/zziplib/htdocs +www: upload-sourceforge +upload-sourceforge: $(MAKE) install-docs DESTDIR=/tmp/zziplib-htdocs-$$USER/ - echo scp ... shell.sf.net:$(pkgdocdir)/ ; sleep 4 + echo scp ... $(SOURCEFORGE_HOST):$(SOURCEFORGE_PATH)/ ; sleep 4 scp -r /tmp/zziplib-htdocs-$$USER/$(pkgdocdir)/* \ - shell.sf.net:/home/$(SFNETDIR)/ + $$USER,$(SOURCEFORGE_GROUP)@$(SOURCEFORGE_HOST):$(SOURCEFORGE_PATH) rm -r /tmp/zziplib-htdocs-$$USER/ # ------------------------------------------------------------ package manpages diff --git a/zziplib.spec b/zziplib.spec index 5106a6b..e1065be 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,7 +1,7 @@ %define lib lib010 Summary: ZZipLib - libZ-based ZIP-access Library Name: zziplib -Version: 0.13.53 +Version: 0.13.54 Release: 1 License: LGPL Group: Development/Libraries -- 2.40.0