Fix CCache documentation build and uninstall
This commit is contained in:
parent
b4b193d7de
commit
20b72b78b4
2 changed files with 8 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -66,6 +66,7 @@ CCache/ccache_swig_config.h
|
||||||
CCache/config.h
|
CCache/config.h
|
||||||
CCache/config.log
|
CCache/config.log
|
||||||
CCache/config.status
|
CCache/config.status
|
||||||
|
CCache/config_win32.h
|
||||||
Examples/Makefile
|
Examples/Makefile
|
||||||
Examples/d/example.mk
|
Examples/d/example.mk
|
||||||
Examples/guile/Makefile
|
Examples/guile/Makefile
|
||||||
|
|
@ -85,6 +86,8 @@ swig.spec
|
||||||
# Build Artifacts
|
# Build Artifacts
|
||||||
.dirstamp
|
.dirstamp
|
||||||
CCache/ccache-swig
|
CCache/ccache-swig
|
||||||
|
CCache/ccache-swig.1
|
||||||
|
CCache/web/ccache-swig-man.html
|
||||||
Lib/swigwarn.swg
|
Lib/swigwarn.swg
|
||||||
Source/CParse/parser.c
|
Source/CParse/parser.c
|
||||||
Source/CParse/parser.h
|
Source/CParse/parser.h
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,6 @@ SWIG=swig
|
||||||
SWIG_LIB=../$(srcdir)/../Lib
|
SWIG_LIB=../$(srcdir)/../Lib
|
||||||
EXEEXT=@EXEEXT@
|
EXEEXT=@EXEEXT@
|
||||||
|
|
||||||
# Use standard autoconf approach to transform executable name using --program-prefix and --program-suffix
|
|
||||||
transform = @program_transform_name@
|
|
||||||
|
|
||||||
LIBS= @LIBS@
|
LIBS= @LIBS@
|
||||||
OBJS= ccache.o mdfour.o hash.o execute.o util.o args.o stats.o \
|
OBJS= ccache.o mdfour.o hash.o execute.o util.o args.o stats.o \
|
||||||
cleanup.o snprintf.o unify.o
|
cleanup.o snprintf.o unify.o
|
||||||
|
|
@ -59,11 +56,14 @@ uninstall: $(PACKAGE_NAME)$(EXEEXT)
|
||||||
rm -f $(DESTDIR)${bindir}/$(PROGRAM_NAME)$(EXEEXT)
|
rm -f $(DESTDIR)${bindir}/$(PROGRAM_NAME)$(EXEEXT)
|
||||||
|
|
||||||
uninstall-docs: $(srcdir)/$(PACKAGE_NAME).1
|
uninstall-docs: $(srcdir)/$(PACKAGE_NAME).1
|
||||||
rm -f $(DESTDIR)${mandir}/man1/$(PACKAGE_NAME).1
|
rm -f $(DESTDIR)${mandir}/man1/$(PROGRAM_NAME).1
|
||||||
|
|
||||||
clean:
|
clean: clean-docs
|
||||||
/bin/rm -f $(OBJS) *~ $(PACKAGE_NAME)$(EXEEXT)
|
/bin/rm -f $(OBJS) *~ $(PACKAGE_NAME)$(EXEEXT)
|
||||||
|
|
||||||
|
clean-docs:
|
||||||
|
rm -f $(srcdir)/$(PACKAGE_NAME).1 $(srcdir)/web/$(PACKAGE_NAME)-man.html
|
||||||
|
|
||||||
test: test.sh
|
test: test.sh
|
||||||
SWIG_LIB='$(SWIG_LIB)' PATH=../..:$$PATH SWIG='$(SWIG)' CC='$(CC)' NOSOFTLINKSTEST='$(NOSOFTLINKSTEST)' CCACHE='../$(PACKAGE_NAME)' CCACHE_PROG=$(PROGRAM_NAME) $(srcdir)/test.sh
|
SWIG_LIB='$(SWIG_LIB)' PATH=../..:$$PATH SWIG='$(SWIG)' CC='$(CC)' NOSOFTLINKSTEST='$(NOSOFTLINKSTEST)' CCACHE='../$(PACKAGE_NAME)' CCACHE_PROG=$(PROGRAM_NAME) $(srcdir)/test.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue