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:
@@ -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}
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
# =====================
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user