diff --git a/Makefile.am b/Makefile.am index 775ba94..288ddec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,11 +54,11 @@ antd_LDADD = libantd.la sysconf_DATA = antd-config.ini install-data-local: - - install -c ant-d $(prefix)/bin - - [ -d /etc/systemd/system/ ] && cp antd.service /etc/systemd/system/ + - install -c ant-d $(DESTDIR)/$(prefix)/bin + - [ -d $(DESTDIR)/etc/systemd/system/ ] && cp antd.service $(DESTDIR)/etc/systemd/system/ #install-data-local: $(srcdir)/conf/config.file $(srcdir)/conf/sub1/config.file # mkdir $(sysconfdir)/conf # cp $(srcdir)/conf/config.file $(sysconfdir)/conf # mkdir $(sysconfdir)/conf/sub1 -# cp $(srcdir)/conf/sub1/config.file $(sysconfdir)/conf/sub1 \ No newline at end of file +# cp $(srcdir)/conf/sub1/config.file $(sysconfdir)/conf/sub1