2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Move some common manpage cleanup to common/Make.rules (and clean up

pod2html tmpfiles). Also mark manpages to be ignored by svn.
This commit is contained in:
Steve Beattie
2007-04-03 20:12:16 +00:00
parent 83eee1b4c6
commit feb167c51a
5 changed files with 16 additions and 11 deletions

View File

@@ -114,6 +114,6 @@ install: $(SPECFILE) $(TARGETS) $(OLDTARGET)
make install_manpages DESTDIR=${DESTDIR}
.PHONY: clean
clean:
rm -f *.o $(TARGET)*.so* ${TARGETS} ${OLDTARGET} Make.rules ${MANPAGES}
rm -f ${NAME}-${VERSION}*.tar.gz ${TESTS} $(NAME)-*.tgz ${SPECFILE}
clean: _clean
rm -f *.o $(TARGET)*.so* ${TARGETS} ${OLDTARGET} Make.rules
rm -f ${TESTS} ${SPECFILE}

View File

@@ -57,7 +57,6 @@ install: ${TARGET} ${MANPAGES}
make install_manpages DESTDIR=${DESTDIR}
.PHONY: clean
clean:
clean: _clean
rm -rf .libs
rm -f ${NAME}*.tar.gz *.la *.lo *.so *.o *.slo Make.rules
rm -f ${MANPAGES} ${HTMLMANPAGES}
rm -f *.la *.lo *.so *.o *.slo Make.rules

View File

@@ -165,6 +165,12 @@ build_dir: $(BUILDRPMSUBDIRS)
$(BUILDRPMSUBDIRS):
mkdir -p $(BUILDRPMSUBDIRS)
.PHONY: _clean
.SILENT: _clean
_clean:
-rm -f ${NAME}-${VERSION}-*.tar.gz
-rm -f ${MANPAGES} ${HTMLMANPAGES} pod2htm*.tmp
# =====================
# manpages
# =====================

View File

@@ -239,9 +239,9 @@ install: $(INSTALLDEPS)
.SILENT: clean
.PHONY: clean
clean:
clean: _clean
rm -f core core.* *.o *.s *.a *~
rm -f $(TOOLS) $(TESTS) $(MANPAGES) $(HTMLMANPAGES)
rm -f $(TOOLS) $(TESTS)
rm -f $(LEX_C_FILES)
rm -f $(YACC_C_FILES)
rm -f parser_version.h

View File

@@ -67,9 +67,9 @@ install: ${MANPAGES} ${HTMLMANPAGES}
ln -sf apparmor_status.8 ${DESTDIR}/${MANDIR}/man8/aa-status.8
.PHONY: clean
clean:
.SILENT: clean
clean: _clean
rm -f core core.* *.o *.s *.a *~
rm -f $(NAME)-$(VERSION)-*.tar.gz Make.rules
rm -f ${MANPAGES} ${HTMLMANPAGES}
rm -f Make.rules
make -C po clean