0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-17 18:33:46 +02:00

Towards a leak-free repository.

Adds a Makefile target 'mrproper' though this only works on new versions of AC.
This commit is contained in:
Jason Volk 2016-07-03 03:39:29 -07:00
parent ea53aab823
commit ac4dda1e67
6 changed files with 45 additions and 9 deletions

View file

@ -24,11 +24,29 @@ logdir = @prefix@/var/log
install-data-hook:
test -d ${DESTDIR}${logdir} || mkdir -p ${DESTDIR}${logdir}
mrproper:
rm -f include/rb/config.h
rm -f include/rb/config.h.in
clean-local:
rm -f ircd/ircd_lexer.c
rm -f ircd/ircd_parser.c
rm -f ircd/ircd_parser.h
mrproper-local:
rm -f aclocal.m4
rm -rf autom4te.cache
rm -f compile
rm -f config.*
rm -f configure
rm -f depcomp
rm -f ltmain.sh
rm -f install-sh
rm -rf libltdl
rm -f libtool
rm -f missing
rm -f ylwrap
rm -f */Makefile
rm -f */Makefile.in
rm -rf */.deps
rm -f Makefile
rm -f Makefile.in
rm -f m4/argz.m4
rm -f m4/libtool.m4
rm -f m4/ltargz.m4
rm -f m4/ltdl.m4
rm -f m4/ltoptions.m4
rm -f m4/ltsugar.m4
rm -f m4/ltversion.m4
rm -f m4/lt~obsolete.m4

View file

@ -18,3 +18,7 @@ authd_SOURCES = \
providers/opm.c
authd_LDADD = $(top_srcdir)/rb/librb.la
mrproper-local:
rm -rf providers/.deps
rm -f providers/.dirstamp

View file

@ -33,4 +33,3 @@ install: install-mkdirs
-@if test -f $(DESTDIR)$(sysconfdir)/links.txt; then \
$(RM) $(DESTDIR)$(sysconfdir)/links.txt; \
fi

View file

@ -94,3 +94,8 @@ module_LTLIBRARIES = \
core/m_quit.la \
core/m_server.la \
core/m_squit.la
mrproper-local:
rm -rf core/.deps
rm -f core/.dirstamp

View file

@ -38,3 +38,9 @@ librb_la_SOURCES = \
librb_la_LDFLAGS = @SSL_LIBS@ @GNUTLS_LIBS@ @MBEDTLS_LIBS@ -avoid-version -no-undefined -export-symbols export-syms.txt
librb_la_LIBADD = @SSL_LIBS@ @GNUTLS_LIBS@ @MBEDTLS_LIBS@
lib_LTLIBRARIES = librb.la
mrproper-local:
rm -f $(top_srcdir)/include/rb/config.h
rm -f $(top_srcdir)/include/rb/config.h.in
rm -f $(top_srcdir)/include/rb/stamp-h1

View file

@ -7,3 +7,7 @@ charybdis_mkpasswd_LDADD = $(top_srcdir)/rb/librb.la
charybdis_mkfingerprint_SOURCES = mkfingerprint.c
charybdis_mkfingerprint_LDADD = $(top_srcdir)/rb/librb.la
mrproper-local:
rm -f genssl