You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xdotool/xdotool-makefile.patch

25 lines
819 B

--- Makefile.orig 2010-02-06 02:17:45.428793838 +0100
+++ Makefile 2010-02-06 02:19:28.420793962 +0100
@@ -29,17 +29,20 @@
install: installlib installprog installman installheader
installprog: xdotool
+ [ -d $(INSTALLBIN) ] || mkdir -p $(INSTALLBIN)
install -m 755 xdotool $(INSTALLBIN)/
installlib: libxdo.so
+ [ -d $(INSTALLLIB) ] || mkdir -p $(INSTALLLIB)
install libxdo.so $(INSTALLLIB)/libxdo.so.$(MAJOR)
ln -sf libxdo.so.$(MAJOR) $(INSTALLLIB)/libxdo.so
installheader: xdo.h
+ [ -d $(INSTALLINCLUDE) ] || mkdir -p $(INSTALLINCLUDE)
install xdo.h $(INSTALLINCLUDE)/xdo.h
installman: xdotool.1
- [ -d $(INSTALLMAN) ] || mkdir $(INSTALLMAN)
+ [ -d $(INSTALLMAN) ] || mkdir -p $(INSTALLMAN)
[ -d $(INSTALLMAN)/man1 ] || mkdir $(INSTALLMAN)/man1
install -m 644 xdotool.1 $(INSTALLMAN)/man1/