summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index b8e41db96..aa69c9f2f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -109,8 +109,9 @@ spotless:
install: services
test -d ${INSTDIR} || mkdir ${INSTDIR}
- $(INSTALL) services $(INSTDIR)/services
- $(INSTALL) bin/anoperc $(INSTDIR)/anoperc
+ test -d ${INSTDIR}/bin || mkdir ${INSTDIR}/bin
+ $(INSTALL) services $(INSTDIR)/bin/services
+ $(INSTALL) bin/anoperc $(INSTDIR)/bin/anoperc
test -d ${INSTDIR}/data || mkdir ${INSTDIR}/data
(cd ../lang ; $(MAKE) install)
$(CP) ../data/* $(INSTDIR)/data