diff options
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | vhook/Makefile | 3 |
2 files changed, 6 insertions, 8 deletions
@@ -135,16 +135,13 @@ wininstaller: all install install-man: ifneq ($(CONFIG_WIN32),yes) if [ -f $(SRC_PATH)/doc/ffmpeg.1 ] ; then \ - install -d $(mandir)/man1 ; \ - install -m 644 $(MANPAGE) $(mandir)/man1 ; \ + install -d "$(mandir)/man1" ; \ + install -m 644 $(MANPAGE) "$(mandir)/man1" ; \ fi endif -install-vhook: $(prefix)/lib/vhook - $(MAKE) -C vhook install INSTDIR=$(prefix)/lib/vhook - -$(prefix)/lib/vhook: - install -d $@ +install-vhook: + $(MAKE) -C vhook install installlib: $(MAKE) -C libavcodec installlib diff --git a/vhook/Makefile b/vhook/Makefile index 3a893189ab..f645b1bdf2 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -26,7 +26,8 @@ depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend install: - install -m 755 $(HOOKS) $(INSTDIR) + install -d "$(prefix)/lib/vhook" + install -m 755 $(HOOKS) "$(prefix)/lib/vhook" imlib2.so: imlib2.o $(CC) -g -o $@ $(SHFLAGS) $< -lImlib2 |