Makefile.in: updates wrt manpage. - susmb - mounting of SMB/CIFS shares via FUSE
 (HTM) git clone git://git.codemadness.org/susmb
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 213a9494ea23c2e405977347225376007ed5fae0
 (DIR) parent ceb3f282bd5e633444aeb45fef0e4d4ab8359258
 (HTM) Author: Geoff Johnstone <qwerty@acm.org>
       Date:   Fri,  2 Apr 2010 19:31:47 +0100
       
       Makefile.in: updates wrt manpage.
       
       Diffstat:
         M Makefile.in                         |      25 ++++++++++---------------
       
       1 file changed, 10 insertions(+), 15 deletions(-)
       ---
 (DIR) diff --git a/Makefile.in b/Makefile.in
       @@ -36,10 +36,11 @@ SOURCES = conffile.c options.c password.c usmb.c usmb_dir.c usmb_file.c \
        OBJECTS = $(SOURCES:.c=.o)
        
        PROGRAM = @PACKAGE_NAME@
       -MANPAGE = @PACKAGE_NAME@.1
       +MANPAGE = $(PROGRAM).1
        
        
       -all: $(PROGRAM) $(MANPAGE)
       +all: $(PROGRAM)
       +
        
        $(PROGRAM): $(OBJECTS)
                $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
       @@ -47,7 +48,6 @@ $(PROGRAM): $(OBJECTS)
        
        clean:
                $(RM) $(PROGRAM) $(OBJECTS)
       -        $(RM) $(MANPAGE) $(MANPAGE).xml
        
        
        distclean: clean
       @@ -55,34 +55,27 @@ distclean: clean
                         autom4te.cache config.h.in~ config.status config.log config.h \
                                                 Makefile
        
       +
        allclean: distclean
                $(RM) configure config.h.in autom4te.cache
        
        
        install-strip: STRIPFLAGS = -s
        install install-strip: $(PROGRAM)
       -        @MKDIR_P@ $(bindir)
       +        @MKDIR_P@ $(bindir) $(man1dir)
                @INSTALL@ -m 755 $(STRIPFLAGS) $(PROGRAM) $(bindir)/
       -        @MKDIR_P@ $(man1dir)
                @INSTALL@ -m 644 $(MANPAGE) $(man1dir)/
        
        
        uninstall:
       -        $(RM) $(bindir)/$(PROGRAM)
       -        rmdir -p $(bindir)
       -        $(RM) $(man1dir)/$(MANPAGE)
       -        rmdir -p $(man1dir)
       +        $(RM) $(bindir)/$(PROGRAM) $(man1dir)/$(MANPAGE)
       +        rmdir -p $(bindir) $(man1dir)
                @echo Please delete ~/.usmb.conf manually.
        
       -%.1: %.1.txt
       -        a2x -f manpage $<
       -
       -# In case package name changed
       -$(MANPAGE).txt: usmb.1.txt
       -        ln -s usmb.1.txt $(MANPAGE).txt
        
        dist: tar
        
       +
        PACKAGE = @PACKAGE_NAME@
        ifeq ($(SNAPSHOT),)
          VERSION = $(shell grep 'USMB_VERSION[^_]' version.h | sed 's/.*0x//')
       @@ -92,6 +85,7 @@ else
          VERSION = $(shell date -ud "$(shell git show $(SNAPSHOT) '--pretty=format:%cD' | head -n1 )" "+%Y%m%d%H%M%S")~$(ARCHIVE)
        endif
        
       +
        tar: STAGING=/tmp/usmb-$(VERSION)
        tar:
                mkdir $(STAGING)
       @@ -107,6 +101,7 @@ tar:
        
        include debian/Makefile.pkgdeb
        
       +
        config.rng.h: @srcdir@/config.rng
                @SED@ -e 's/"/\\"/g' -e 's/\(.*\)/  "\1" \\/' \
            -e '1istatic const char *rng_$(@:.rng.h=) =' $^ > config.rng.h