]> sourceware.org Git - systemtap.git/blame - stap-exporter/Makefile.am
step-prep: on debian/ubuntu machines, attempt "apt-get -y install"
[systemtap.git] / stap-exporter / Makefile.am
CommitLineData
3de4d169
FCE
1# Makefile.am --- automake input file for systemtap man pages
2## process this file with automake to produce Makefile.in
3
4AUTOMAKE_OPTIONS = no-dist foreign subdir-objects
5
6# if we have python3
7if HAVE_PYTHON3_PROBES
8
9man8_MANS = stap-exporter.8
10
11install-data-local:
b8550627
FCE
12 $(MKDIR_P) "$(DESTDIR)$(sysconfdir)/stap-exporter"
13 cd $(srcdir)/default; find . | cpio -pdmv "$(DESTDIR)$(sysconfdir)/stap-exporter/"
3de4d169 14 $(MKDIR_P) "$(DESTDIR)$(prefix)/lib/systemd/system"
b8550627 15 $(MKDIR_P) "$(DESTDIR)$(sysconfdir)/sysconfig"
3de4d169 16 $(INSTALL_DATA) $(srcdir)/stap-exporter.service "$(DESTDIR)$(prefix)/lib/systemd/system"
b8550627 17 $(INSTALL_DATA) $(srcdir)/stap-exporter.options "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"
3de4d169
FCE
18
19uninstall-local:
20 rm -f "$(DESTDIR)$(prefix)/lib/systemd/system/stap-exporter.service"
b8550627
FCE
21 rm -f "$(DESTDIR)$(sysconfdir)/sysconfig/stap-exporter"
22 rm -rf "$(DESTDIR)$(sysconfdir)/stap-exporter"
3de4d169
FCE
23
24sbin_SCRIPTS = stap-exporter
25
26stap-exporter: $(srcdir)/stap-exporter.in
27 sed -e "s#%sysconfdir%#$(sysconfdir)#g" < $< > $@
28
29clean-local:
30 rm -f stap-exporter
31
32endif
This page took 0.027362 seconds and 5 git commands to generate.