Added debian-dist and debian-upload targets. Also documented usage.
[privoxy.git] / GNUmakefile.in
index 91468d0..5237aae 100644 (file)
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
-# $Id: GNUmakefile.in,v 1.101 2002/05/15 12:28:46 oes Exp $
+# $Id: GNUmakefile.in,v 1.105 2002/05/25 22:48:19 hal9 Exp $
 #
 # Written by and Copyright (C) 2001 the SourceForge
 # Privoxy team. http://www.privoxy.org/
@@ -457,9 +457,16 @@ hpux-upload:
 # debian distribution
 #############################################################################
 debian-dist:
-       @$(ECHO) coming soon. 
+       @$(ECHO) Creating Debian package.  Will exist in parent directory.
+       dpkg-buildpackage -rfakeroot -us -uc
 debian-upload:
-       @$(ECHO) coming soon. 
+       ncftpput -u anonymous -p ijbswa-developers@lists.sourceforge.net upload.sourceforge.net /incoming ../privoxy_$(shell dpkg-parsechangelog | grep "Version" | sed "s/Version: //")_$(shell dpkg --print-architecture).deb
+       @$(ECHO) -------------------------------------------------------
+       @$(ECHO) Now goto
+       @$(ECHO) http://sourceforge.net/project/admin/editpackages.php?group_id=11118
+       @$(ECHO) ... and release the files.
+       @$(ECHO) -------------------------------------------------------
+
 
 #############################################################################
 # macosx distribution
@@ -571,14 +578,14 @@ else
 endif
 
 # readme page
-dok-readme: 
-       cd doc/source && $(DB) -V nochunks readme.sgml > tmp.html &&\
+dok-readme:
+       cd doc/source && $(DB)-notoc -V nochunks readme.sgml > tmp.html &&\
        $(WDUMP) tmp.html > ../../README && $(RM) -r tmp.html
 
 # webserver files
 dok-webserver: 
-       cd doc/source/webserver && $(DB) -V nochunks index.sgml > ../../webserver/index.html
-       $(PERL) -pi.bak -e 's/..\/p_doc.css/p_web.css/;\
+       cd doc/source/webserver && $(DB)-notoc -V nochunks index.sgml > ../../webserver/index.html
+       $(PERL) -pi.bak -e 's/..\/p_doc.css/p_doc.css/;\
      s/<\/HEAD/\n<meta name=\"description\" content=\"Privoxy helps consumers reduce unwanted junk email and protect their privacy from direct marketing companies.\"><\/HEAD/;\
        s/<\/HEAD/\n<meta name="MSSmartTagsPreventParsing" content="TRUE"><\/HEAD/;\
        s/\.\d\. //'\
@@ -839,6 +846,18 @@ coffee:
 ## end:
 
 # $Log: GNUmakefile.in,v $
+# Revision 1.105  2002/05/25 22:48:19  hal9
+# Add -notoc to README build (per oes's dsl magic).
+#
+# Revision 1.104  2002/05/24 00:03:49  oes
+# Use p_doc.css for the Homepage for consistency
+#
+# Revision 1.103  2002/05/23 23:19:00  oes
+# Use dsl without TOC for the homepage
+#
+# Revision 1.102  2002/05/16 01:20:17  hal9
+# make announce target added.
+#
 # Revision 1.101  2002/05/15 12:28:46  oes
 # Trying to keep Hal happy :)
 #