.. | .. |
---|
270 | 270 | $(MAKE) -C bench O=$(OUTPUT) clean |
---|
271 | 271 | |
---|
272 | 272 | |
---|
273 | | -install-lib: |
---|
| 273 | +install-lib: libcpupower |
---|
274 | 274 | $(INSTALL) -d $(DESTDIR)${libdir} |
---|
275 | 275 | $(CP) $(OUTPUT)libcpupower.so* $(DESTDIR)${libdir}/ |
---|
276 | 276 | $(INSTALL) -d $(DESTDIR)${includedir} |
---|
277 | 277 | $(INSTALL_DATA) lib/cpufreq.h $(DESTDIR)${includedir}/cpufreq.h |
---|
278 | 278 | $(INSTALL_DATA) lib/cpuidle.h $(DESTDIR)${includedir}/cpuidle.h |
---|
279 | 279 | |
---|
280 | | -install-tools: |
---|
| 280 | +install-tools: $(OUTPUT)cpupower |
---|
281 | 281 | $(INSTALL) -d $(DESTDIR)${bindir} |
---|
282 | 282 | $(INSTALL_PROGRAM) $(OUTPUT)cpupower $(DESTDIR)${bindir} |
---|
283 | 283 | $(INSTALL) -d $(DESTDIR)${bash_completion_dir} |
---|
.. | .. |
---|
293 | 293 | $(INSTALL_DATA) -D man/cpupower-info.1 $(DESTDIR)${mandir}/man1/cpupower-info.1 |
---|
294 | 294 | $(INSTALL_DATA) -D man/cpupower-monitor.1 $(DESTDIR)${mandir}/man1/cpupower-monitor.1 |
---|
295 | 295 | |
---|
296 | | -install-gmo: |
---|
| 296 | +install-gmo: create-gmo |
---|
297 | 297 | $(INSTALL) -d $(DESTDIR)${localedir} |
---|
298 | 298 | for HLANG in $(LANGUAGES); do \ |
---|
299 | 299 | echo '$(INSTALL_DATA) -D $(OUTPUT)po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpupower.mo'; \ |
---|
300 | 300 | $(INSTALL_DATA) -D $(OUTPUT)po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpupower.mo; \ |
---|
301 | 301 | done; |
---|
302 | 302 | |
---|
303 | | -install-bench: |
---|
| 303 | +install-bench: compile-bench |
---|
304 | 304 | @#DESTDIR must be set from outside to survive |
---|
305 | 305 | @sbindir=$(sbindir) bindir=$(bindir) docdir=$(docdir) confdir=$(confdir) $(MAKE) -C bench O=$(OUTPUT) install |
---|
306 | 306 | |
---|