Skip to content

Commit 7d986e3

Browse files
authored
Merge pull request #81 from danilobuerger/db/naked-termite
Makefile: create destination dirs in install targets
2 parents 668e184 + 8faf79d commit 7d986e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,13 +641,15 @@ cpbuilds:
641641
@echo "Look in 'builds' for zipfiles to publish"
642642

643643
install-lib:
644+
@mkdir -p $(DESTDIR)$(LIBLOCATION)
644645
$(INSTALL) $(LIBTARGET) $(DESTDIR)$(LIBLOCATION)/$(LIBTARGET)
645646

646647
install-dev: install-lib makepkgconfig
647648
$(INSTALL) $(PKG_CONFIG_FILE_NAME) $(DESTDIR)$(LIBLOCATION)/pkgconfig/$(PKG_CONFIG_FILE_NAME)
648649
$(INSTALL) blink1-lib.h $(DESTDIR)$(INCLOCATION)/blink1-lib.h
649650

650651
install: all install-lib
652+
@mkdir -p $(DESTDIR)$(EXELOCATION)
651653
$(INSTALL) blink1-tool$(EXE) $(DESTDIR)$(EXELOCATION)/blink1-tool$(EXE)
652654

653655
uninstall-lib:
@@ -733,4 +735,3 @@ test-blink1-lib: $(OBJS)
733735
./tests/test-blink1-lib
734736

735737
test: test-blink1-lib test-blink1-tiny-server
736-

0 commit comments

Comments
 (0)