aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/Makefile')
-rw-r--r--Documentation/perf_counter/Makefile61
1 files changed, 61 insertions, 0 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile
index 8f725840477f..416ab11e9786 100644
--- a/Documentation/perf_counter/Makefile
+++ b/Documentation/perf_counter/Makefile
@@ -693,6 +693,21 @@ builtin-revert.o wt-status.o: wt-status.h
693$(LIB_FILE): $(LIB_OBJS) 693$(LIB_FILE): $(LIB_OBJS)
694 $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS) 694 $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS)
695 695
696doc:
697 $(MAKE) -C Documentation all
698
699man:
700 $(MAKE) -C Documentation man
701
702html:
703 $(MAKE) -C Documentation html
704
705info:
706 $(MAKE) -C Documentation info
707
708pdf:
709 $(MAKE) -C Documentation pdf
710
696TAGS: 711TAGS:
697 $(RM) TAGS 712 $(RM) TAGS
698 $(FIND) . -name '*.[hcS]' -print | xargs etags -a 713 $(FIND) . -name '*.[hcS]' -print | xargs etags -a
@@ -781,6 +796,31 @@ ifneq (,$X)
781 $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';) 796 $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';)
782endif 797endif
783 798
799install-doc:
800 $(MAKE) -C Documentation install
801
802install-man:
803 $(MAKE) -C Documentation install-man
804
805install-html:
806 $(MAKE) -C Documentation install-html
807
808install-info:
809 $(MAKE) -C Documentation install-info
810
811install-pdf:
812 $(MAKE) -C Documentation install-pdf
813
814quick-install-doc:
815 $(MAKE) -C Documentation quick-install
816
817quick-install-man:
818 $(MAKE) -C Documentation quick-install-man
819
820quick-install-html:
821 $(MAKE) -C Documentation quick-install-html
822
823
784### Maintainer's dist rules 824### Maintainer's dist rules
785 825
786perf.spec: perf.spec.in 826perf.spec: perf.spec.in
@@ -801,6 +841,26 @@ dist: perf.spec perf-archive$(X) configure
801 @$(RM) -r $(PERF_TARNAME) 841 @$(RM) -r $(PERF_TARNAME)
802 gzip -f -9 $(PERF_TARNAME).tar 842 gzip -f -9 $(PERF_TARNAME).tar
803 843
844htmldocs = perf-htmldocs-$(PERF_VERSION)
845manpages = perf-manpages-$(PERF_VERSION)
846dist-doc:
847 $(RM) -r .doc-tmp-dir
848 mkdir .doc-tmp-dir
849 $(MAKE) -C Documentation WEBDOC_DEST=../.doc-tmp-dir install-webdoc
850 cd .doc-tmp-dir && $(TAR) cf ../$(htmldocs).tar .
851 gzip -n -9 -f $(htmldocs).tar
852 :
853 $(RM) -r .doc-tmp-dir
854 mkdir -p .doc-tmp-dir/man1 .doc-tmp-dir/man5 .doc-tmp-dir/man7
855 $(MAKE) -C Documentation DESTDIR=./ \
856 man1dir=../.doc-tmp-dir/man1 \
857 man5dir=../.doc-tmp-dir/man5 \
858 man7dir=../.doc-tmp-dir/man7 \
859 install
860 cd .doc-tmp-dir && $(TAR) cf ../$(manpages).tar .
861 gzip -n -9 -f $(manpages).tar
862 $(RM) -r .doc-tmp-dir
863
804rpm: dist 864rpm: dist
805 $(RPMBUILD) -ta $(PERF_TARNAME).tar.gz 865 $(RPMBUILD) -ta $(PERF_TARNAME).tar.gz
806 866
@@ -819,6 +879,7 @@ clean:
819 $(RM) -r $(PERF_TARNAME) .doc-tmp-dir 879 $(RM) -r $(PERF_TARNAME) .doc-tmp-dir
820 $(RM) $(PERF_TARNAME).tar.gz perf-core_$(PERF_VERSION)-*.tar.gz 880 $(RM) $(PERF_TARNAME).tar.gz perf-core_$(PERF_VERSION)-*.tar.gz
821 $(RM) $(htmldocs).tar.gz $(manpages).tar.gz 881 $(RM) $(htmldocs).tar.gz $(manpages).tar.gz
882 $(MAKE) -C Documentation/ clean
822 $(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS 883 $(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS
823 884
824.PHONY: all install clean strip 885.PHONY: all install clean strip