build: clean up some more generated files

Commit c1d39153da added a cc-wrapper
script to help generate CTF data for all objects, which is generated
by configure.  Remove it in the distclean target so we don't leave
a stray file hanging around.

Commit 48ce41a447 added a pkgbuild.sh
script, to be used to build packages for newer versions of macOS,
supplementing the buildpkg.sh that was previously used.  Clean it
up in distclean as well (buildpkg.sh was already listed).

Also clean up AFS_component_version_number.c in
libuafs/Makefile.common.in.

These issues were detected while resolving
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1048470 .

Change-Id: I0fea00924a998ee316d48cf76103ea9871a34c6b
Reviewed-on: https://gerrit.openafs.org/15605
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
Benjamin Kaduk 2023-12-22 14:43:39 -08:00
parent 26fdb47dba
commit d6880c7763
2 changed files with 3 additions and 0 deletions

View File

@ -797,6 +797,7 @@ distclean: clean
/bin/rm -rf lib include packages
/bin/rm -f config.log config.cache config.status \
src/config/afsconfig.h src/config/stamp-h1 \
src/config/cc-wrapper \
src/libafs/Makefile \
src/libuafs/Makefile \
Makefile \
@ -878,6 +879,7 @@ distclean: clean
src/packaging/MacOS/OpenAFS.Info.plist \
src/packaging/MacOS/OpenAFS.info \
src/packaging/MacOS/buildpkg.sh \
src/packaging/MacOS/pkgbuild.sh \
src/packaging/RedHat/openafs.spec \
src/pam/Makefile \
src/platform/Makefile \

View File

@ -494,6 +494,7 @@ clean:
-$(RM) -rf h
-$(RM) -f linktest $(AFS_OS_CLEAN)
-$(RM) -f *.o *.a
-${RM} -f AFS_component_version_number.c
install: libuafs.a libuafs_pic.la @LIBUAFS_BUILD_PERL@
${INSTALL} -d ${DESTDIR}${libdir}