Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ endif

PROGRAM = dpcmd
CC ?= gcc
STRIP ?= strip
PREFIX ?= /usr/local

PKG_CONFIG ?= pkg-config
Expand Down Expand Up @@ -59,7 +60,7 @@ install: $(PROGRAM)
install -v -o 0 -g 0 -m 755 -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/DediProg
echo -n "install: " && install -v -o 0 -g 0 -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
ifneq ($(NOSTRIP),1)
strip $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
$(STRIP) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
endif
install -v -o 0 -g 0 -m 755 -d $(DESTDIR)$(PREFIX)/share/DediProg
echo -n "install: " && install -v -o 0 -g 0 -m 0644 ChipInfoDb.dedicfg $(DESTDIR)$(PREFIX)/share/DediProg/ChipInfoDb.dedicfg
Expand Down