mirror of
https://github.com/AltraMayor/f3.git
synced 2025-09-16 10:36:10 -04:00
Merge pull request #22 from bor/fix/Makefile
Add 'install -d' to create dirs in case they don't exists. This fix helps creating packages under chroot/etc. for example see
This commit is contained in:
commit
fc4af9d255
3
Makefile
3
Makefile
@ -12,11 +12,14 @@ all: $(TARGETS)
|
||||
experimental: $(EXPERIMENTAL_TARGETS)
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d $(PREFIX)/bin
|
||||
$(INSTALL) -oroot -groot -m755 $(TARGETS) $(PREFIX)/bin
|
||||
$(INSTALL) -d $(PREFIX)/share/man/man1
|
||||
$(INSTALL) -oroot -groot -m644 f3read.1 $(PREFIX)/share/man/man1
|
||||
$(LN) -sf f3read.1 $(PREFIX)/share/man/man1/f3write.1
|
||||
|
||||
install-experimental: experimental
|
||||
$(INSTALL) -d $(PREFIX)/bin
|
||||
$(INSTALL) -oroot -groot -m755 $(EXPERIMENTAL_TARGETS) $(PREFIX)/bin
|
||||
|
||||
f3write: utils.o f3write.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user