|
3 | 3 | # |
4 | 4 | # Make targets: |
5 | 5 | # - install: install LCOV tools and man pages on the system |
6 | | -# - uninstall: remove tools and man pages from the system |
7 | 6 | # - dist: create files required for distribution, i.e. the lcov.tar.gz |
8 | 7 | # and the lcov.rpm file. Just make sure to adjust the VERSION |
9 | 8 | # and RELEASE variables below - both version and date strings |
|
93 | 92 | .SILENT: |
94 | 93 | endif |
95 | 94 |
|
96 | | -.PHONY: all info clean install uninstall rpms test |
| 95 | +.PHONY: all info clean install rpms test |
97 | 96 |
|
98 | 97 | all: info |
99 | 98 |
|
100 | 99 | info: |
101 | 100 | @echo "Available make targets:" |
102 | 101 | @echo " install : install binaries and man pages in DESTDIR (default /)" |
103 | | - @echo " uninstall : delete binaries and man pages from DESTDIR (default /)" |
104 | 102 | @echo " dist : create packages (RPM, tarball) ready for distribution" |
105 | 103 | @echo " check : perform self-tests" |
106 | 104 | @echo " checkstyle: check source files for coding style issues" |
@@ -169,30 +167,6 @@ install: |
169 | 167 | $(INSTALL) -m 644 lcovrc $(CFG_INST_DIR)/lcovrc |
170 | 168 | $(call echocmd," done INSTALL") |
171 | 169 |
|
172 | | - |
173 | | -uninstall: |
174 | | - for b in $(EXES) ; do \ |
175 | | - $(call echocmd," UNINST $(BIN_INST_DIR)/$$b") \ |
176 | | - $(RM) -f $(BIN_INST_DIR)/$$b ; \ |
177 | | - done |
178 | | - rmdir --ignore-fail-on-non-empty $(BIN_INST_DIR) || true |
179 | | - for s in $(SCRIPTS) ; do \ |
180 | | - $(call echocmd," UNINST $(SCRIPT_INST_DIR)/$$s") \ |
181 | | - $(RM) -f $(SCRIPT_INST_DIR)/$$s ; \ |
182 | | - done |
183 | | - rmdir --ignore-fail-on-non-empty $(SCRIPT_INST_DIR) |
184 | | - for l in $(LIBS) ; do \ |
185 | | - $(call echocmd," UNINST $(LIB_INST_DIR)/$$l") \ |
186 | | - $(RM) -f $(LIB_INST_DIR)/$$l ; \ |
187 | | - done |
188 | | - rmdir --ignore-fail-on-non-empty $(LIB_INST_DIR) || true |
189 | | - rmdir `dirname $(LIB_INST_DIR)` || true |
190 | | - rm -rf `dirname $(SHARE_INST_DIR)` |
191 | | - $(call echocmd," UNINST $(CFG_INST_DIR)/lcovrc") |
192 | | - $(RM) -f $(CFG_INST_DIR)/lcovrc |
193 | | - rmdir --ignore-fail-on-non-empty $(CFG_INST_DIR) || true |
194 | | - rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX) || true |
195 | | - |
196 | 170 | dist: lcov-$(VERSION).tar.gz lcov-$(VERSION)-$(RELEASE).noarch.rpm \ |
197 | 171 | lcov-$(VERSION)-$(RELEASE).src.rpm |
198 | 172 |
|
|
0 commit comments