Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: third_party/lcov/Makefile

Issue 23189008: Upgrades lcov to 1.10, removes lcov-1.9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-adds UNKNOWN suppression Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lcov/LICENSE ('k') | third_party/lcov/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Makefile for LCOV 2 # Makefile for LCOV
3 # 3 #
4 # Make targets: 4 # Make targets:
5 # - install: install LCOV tools and man pages on the system 5 # - install: install LCOV tools and man pages on the system
6 # - uninstall: remove tools and man pages from the system 6 # - uninstall: remove tools and man pages from the system
7 # - dist: create files required for distribution, i.e. the lcov.tar.gz 7 # - dist: create files required for distribution, i.e. the lcov.tar.gz
8 # and the lcov.rpm file. Just make sure to adjust the VERSION 8 # and the lcov.rpm file. Just make sure to adjust the VERSION
9 # and RELEASE variables below - both version and date strings 9 # and RELEASE variables below - both version and date strings
10 # will be updated in all necessary files. 10 # will be updated in all necessary files.
11 # - clean: remove all generated files 11 # - clean: remove all generated files
12 # 12 #
13 13
14 VERSION := 1.7 14 VERSION := 1.10
15 RELEASE := 1 15 RELEASE := 1
16 16
17 CFG_DIR := $(PREFIX)/etc 17 CFG_DIR := $(PREFIX)/etc
18 BIN_DIR := $(PREFIX)/usr/bin 18 BIN_DIR := $(PREFIX)/usr/bin
19 MAN_DIR := $(PREFIX)/usr/share/man 19 MAN_DIR := $(PREFIX)/usr/share/man
20 TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$) 20 TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$)
21 FILES := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \ 21 FILES := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \
22 $(wildcard rpm/*) lcovrc 22 $(wildcard rpm/*) lcovrc
23 23
24 .PHONY: all info clean install uninstall rpms 24 .PHONY: all info clean install uninstall rpms
25 25
26 all: info 26 all: info
27 27
28 info: 28 info:
29 @echo "Available make targets:" 29 @echo "Available make targets:"
30 @echo " install : install binaries and man pages in PREFIX (default / )" 30 @echo " install : install binaries and man pages in PREFIX (default / )"
31 @echo " uninstall : delete binaries and man pages from PREFIX (default /)" 31 @echo " uninstall : delete binaries and man pages from PREFIX (default /)"
32 @echo " dist : create packages (RPM, tarball) ready for distributi on" 32 @echo " dist : create packages (RPM, tarball) ready for distributi on"
33 33
34 clean: 34 clean:
35 rm -f lcov-*.tar.gz 35 rm -f lcov-*.tar.gz
36 rm -f lcov-*.rpm 36 rm -f lcov-*.rpm
37 make -C example clean 37 make -C example clean
38 38
39 install: 39 install:
40 » bin/install.sh bin/lcov $(BIN_DIR)/lcov 40 » bin/install.sh bin/lcov $(BIN_DIR)/lcov -m 755
41 » bin/install.sh bin/genhtml $(BIN_DIR)/genhtml 41 » bin/install.sh bin/genhtml $(BIN_DIR)/genhtml -m 755
42 » bin/install.sh bin/geninfo $(BIN_DIR)/geninfo 42 » bin/install.sh bin/geninfo $(BIN_DIR)/geninfo -m 755
43 » bin/install.sh bin/genpng $(BIN_DIR)/genpng 43 » bin/install.sh bin/genpng $(BIN_DIR)/genpng -m 755
44 » bin/install.sh bin/gendesc $(BIN_DIR)/gendesc 44 » bin/install.sh bin/gendesc $(BIN_DIR)/gendesc -m 755
45 » bin/install.sh man/lcov.1 $(MAN_DIR)/man1/lcov.1 45 » bin/install.sh man/lcov.1 $(MAN_DIR)/man1/lcov.1 -m 644
46 » bin/install.sh man/genhtml.1 $(MAN_DIR)/man1/genhtml.1 46 » bin/install.sh man/genhtml.1 $(MAN_DIR)/man1/genhtml.1 -m 644
47 » bin/install.sh man/geninfo.1 $(MAN_DIR)/man1/geninfo.1 47 » bin/install.sh man/geninfo.1 $(MAN_DIR)/man1/geninfo.1 -m 644
48 » bin/install.sh man/genpng.1 $(MAN_DIR)/man1/genpng.1 48 » bin/install.sh man/genpng.1 $(MAN_DIR)/man1/genpng.1 -m 644
49 » bin/install.sh man/gendesc.1 $(MAN_DIR)/man1/gendesc.1 49 » bin/install.sh man/gendesc.1 $(MAN_DIR)/man1/gendesc.1 -m 644
50 » bin/install.sh man/lcovrc.5 $(MAN_DIR)/man5/lcovrc.5 50 » bin/install.sh man/lcovrc.5 $(MAN_DIR)/man5/lcovrc.5 -m 644
51 » bin/install.sh lcovrc $(CFG_DIR)/lcovrc 51 » bin/install.sh lcovrc $(CFG_DIR)/lcovrc -m 644
52 52
53 uninstall: 53 uninstall:
54 bin/install.sh --uninstall bin/lcov $(BIN_DIR)/lcov 54 bin/install.sh --uninstall bin/lcov $(BIN_DIR)/lcov
55 bin/install.sh --uninstall bin/genhtml $(BIN_DIR)/genhtml 55 bin/install.sh --uninstall bin/genhtml $(BIN_DIR)/genhtml
56 bin/install.sh --uninstall bin/geninfo $(BIN_DIR)/geninfo 56 bin/install.sh --uninstall bin/geninfo $(BIN_DIR)/geninfo
57 bin/install.sh --uninstall bin/genpng $(BIN_DIR)/genpng 57 bin/install.sh --uninstall bin/genpng $(BIN_DIR)/genpng
58 bin/install.sh --uninstall bin/gendesc $(BIN_DIR)/gendesc 58 bin/install.sh --uninstall bin/gendesc $(BIN_DIR)/gendesc
59 bin/install.sh --uninstall man/lcov.1 $(MAN_DIR)/man1/lcov.1 59 bin/install.sh --uninstall man/lcov.1 $(MAN_DIR)/man1/lcov.1
60 bin/install.sh --uninstall man/genhtml.1 $(MAN_DIR)/man1/genhtml.1 60 bin/install.sh --uninstall man/genhtml.1 $(MAN_DIR)/man1/genhtml.1
61 bin/install.sh --uninstall man/geninfo.1 $(MAN_DIR)/man1/geninfo.1 61 bin/install.sh --uninstall man/geninfo.1 $(MAN_DIR)/man1/geninfo.1
(...skipping 28 matching lines...) Expand all
90 mkdir $(TMP_DIR)/SRPMS 90 mkdir $(TMP_DIR)/SRPMS
91 cp lcov-$(VERSION).tar.gz $(TMP_DIR)/SOURCES 91 cp lcov-$(VERSION).tar.gz $(TMP_DIR)/SOURCES
92 cd $(TMP_DIR)/BUILD ; \ 92 cd $(TMP_DIR)/BUILD ; \
93 tar xfz $(TMP_DIR)/SOURCES/lcov-$(VERSION).tar.gz \ 93 tar xfz $(TMP_DIR)/SOURCES/lcov-$(VERSION).tar.gz \
94 lcov-$(VERSION)/rpm/lcov.spec 94 lcov-$(VERSION)/rpm/lcov.spec
95 rpmbuild --define '_topdir $(TMP_DIR)' \ 95 rpmbuild --define '_topdir $(TMP_DIR)' \
96 -ba $(TMP_DIR)/BUILD/lcov-$(VERSION)/rpm/lcov.spec 96 -ba $(TMP_DIR)/BUILD/lcov-$(VERSION)/rpm/lcov.spec
97 mv $(TMP_DIR)/RPMS/noarch/lcov-$(VERSION)-$(RELEASE).noarch.rpm . 97 mv $(TMP_DIR)/RPMS/noarch/lcov-$(VERSION)-$(RELEASE).noarch.rpm .
98 mv $(TMP_DIR)/SRPMS/lcov-$(VERSION)-$(RELEASE).src.rpm . 98 mv $(TMP_DIR)/SRPMS/lcov-$(VERSION)-$(RELEASE).src.rpm .
99 rm -rf $(TMP_DIR) 99 rm -rf $(TMP_DIR)
OLDNEW
« no previous file with comments | « third_party/lcov/LICENSE ('k') | third_party/lcov/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698