Update Makefile.am

This commit is contained in:
Dany LE 2022-08-02 09:15:08 +02:00 committed by GitHub
parent 6fcc16fe23
commit eb5af36a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
# cp $(srcdir)/conf/sub1/config.file $(sysconfdir)/conf/sub1