to be able to build on Darwin/OS X and other BSD-based systems.
Barış Metin [Thu, 28 May 2009 19:27:34 +0000 (19:27 +0000)]
keyconvert/Makefile

index 0c75524..b200078 100644 (file)
@@ -5,7 +5,8 @@ keyconvert:
        gcc -o keyconvert -lcrypto -ldl keyconvert.c keyconvertmain.c b64decode.c
 
 install: keyconvert
-       install -cD -m 0755 keyconvert $(DESTDIR)/usr/share/keyconvert/keyconvert
+       install -d -m 0755 $(DESTDIR)/usr/share/keyconvert
+       install -c -m 0755 keyconvert $(DESTDIR)/usr/share/keyconvert/keyconvert
  
 clean:
        rm -rf keyconvert