Fix installation

This commit is contained in:
Heikki Hannikainen 2013-12-22 02:30:43 +02:00
parent 365f982e8c
commit 569d8a349b
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ install: all
$(INSTALL_PROGRAM) aprsc $(DESTDIR)$(SBINDIR)/aprsc
$(INSTALL_PROGRAM) aprsc_munin $(DESTDIR)$(SBINDIR)/aprsc_munin
$(INSTALL_DATA) aprsc.8 $(DESTDIR)$(MANDIR)/man8/aprsc.8
$(INSTALL_DATA) $(WEBFILES) $(DESTDIR)/opt/aprsc/web
$(INSTALL_DATA) $(subst src/,,$(WEBFILES)) $(DESTDIR)/opt/aprsc/web
if [ ! -f $(DESTDIR)$(CFGFILE) ] ; then \
$(INSTALL_DATA) aprsc.conf $(DESTDIR)$(CFGFILE) ; \
else true ; fi