Fix making a release.

This commit is contained in:
df 2020-10-16 15:32:18 +01:00
parent 59368bb111
commit 3b8db036a1
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#
# Makefile for tinysvcmdns
#
MV ?= mv
CPPFLAGS += -DPTHREAD_CREATE_DETACHED_SUPPORTED
#CPPFLAGS += -DNDEBUG
CPPFLAGS += $(CPPFLAGS_EXTRA)
@ -54,6 +57,7 @@ opkg-service: $(wildcard etc/modservice.d/*)
opkg: mdnsd $(wildcard opkg/CONTROL/*) opkg-init opkg-service
install -d opkg/sbin
install -p $< opkg/sbin/
$(foreach opk,$(wildcard *.opk),$(MV) $(opk) $(opk).old; )
opkg-pack opkg
release: opkg