tAdd specific targets for gopher hole - monochromatic - monochromatic blog: http://blog.z3bra.org
 (HTM) git clone git://z3bra.org/monochromatic
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 6f575ed11e5cb7f8d30d1cd30d3aedd6653db937
 (DIR) parent 4c6e7eb55bbdaf39839fb6ab20e1200f1374b1ae
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Fri, 27 Dec 2019 14:06:44 +0100
       
       Add specific targets for gopher hole
       
       Diffstat:
         M Makefile                            |      16 +++++++++++-----
       
       1 file changed, 11 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       t@@ -3,14 +3,16 @@ include config.mk
        .PHONY: all release gopher-release install clean
        .SUFFIXES: .txt .html
        
       -all: $(FEEDS) $(EXTRA) $(PAGES)
       +all: release gopher-release
        release: $(TARBALL)
       -gopher-release: index.gph
       -        tar -cjf $(TARBALL) `find . -name '*.txt' -o -name '*.gph'`
       +gopher-release: gopher-$(TARBALL)
        
        $(TARBALL): $(FEEDS) $(PAGES) $(EXTRA)
                tar -cjf $@ $(PAGES) $(EXTRA) $(FEEDS)
        
       +gopher-$(TARBALL): index.gph
       +        tar -cjf $@ 20*/*/*.txt index.gph
       +
        index.txt:
                sh utils/genindex.sh > $@
        
       t@@ -26,8 +28,12 @@ $(FEEDS): index.txt
        
        install: $(TARBALL)
                mkdir -p $(PREFIX)
       -        tar -xjf $(NAME).tar.bz2 -C $(PREFIX)
       +        tar -xjf $(TARBALL) -C $(PREFIX)
       +
       +gopher-install: gopher-$(TARBALL)
       +        mkdir -p $(PREFIX)
       +        tar -xjf gopher-$(TARBALL) -C $(PREFIX)
        
        clean:
       -        rm -f $(PAGES) $(FEEDS) $(TARBALL) index.txt index.gph
       +        rm -f $(PAGES) $(FEEDS) $(TARBALL) gopher-$(TARBALL) index.txt index.gph
                rmdir `dirname $(FEEDS)`