Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile.in: updates wrt manpage. - susmb - mounting of SMB/CIFS shares via FUSE
git clone git://git.codemadness.org/susmb
Log
Files
Refs
README
LICENSE
---
commit 213a9494ea23c2e405977347225376007ed5fae0
parent ceb3f282bd5e633444aeb45fef0e4d4ab8359258
Author: Geoff Johnstone <[email protected]>
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(-)
---
diff --git a/Makefile.in b/Makefile.in
@@ -36,10 +36,11 @@ SOURCES = conffile.c options.c password.c usmb.c usmb_dir.c…
OBJECTS = $(SOURCES:.c=.o)
PROGRAM = @PACKAGE_NAME@
-MANPAGE = @[email protected]
+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:%c…
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
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.