build: add files to make distclean command

This commit is contained in:
winkies 2021-01-25 15:03:06 +01:00
parent 6b0ce34b40
commit a1f49c4403
2 changed files with 18 additions and 2 deletions

View File

@ -62,8 +62,12 @@ pkginclude_HEADERS = \
project_specific_defines.h
endif
# svn_version.h should always be rebuilt.
# Define files for distclean command
DISTCLEANFILES = \
clientgui/res/Makefile \
packages/generic/sea/Makefile
# svn_version.h should always be rebuilt.
BUILT_SOURCES = svn_version.h
svn_version.h: generate_svn_version.sh
cd $(srcdir) && sh generate_svn_version.sh
@ -80,5 +84,8 @@ stage: all
$(MAKE) DESTDIR=$(PWD)/stage install
dist-hook:
rm -rf `find $(distdir) -name .backup -prune -o -name '*~' -o -name CVS`
rm -rf `find $(distdir) -name .backup -prune -o -name '*~' -o -name CVS -name Makefile`
# cd $(distdir) && ./_autosetup
distclean-local:
cd packages/solaris/CSW && make distclean

View File

@ -1,4 +1,13 @@
include $(top_srcdir)/Makefile.incl
DISTCLEANFILES = \
Makefile \
pkginfo \
prototype
SUBDIRS = \
boincclient \
boincdevel \
boinclibs \
boincmanager