]> rtime.felk.cvut.cz Git - hercules2020/hercules-compiler.git/commitdiff
Update patch
authorMichal Sojka <michal.sojka@cvut.cz>
Sun, 6 May 2018 21:47:21 +0000 (23:47 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Sun, 6 May 2018 22:12:05 +0000 (00:12 +0200)
debian/patches/libpremnotify-makefile.patch

index 45cbcd98ab8ee3c824e585198ead5a53688b2279..d7dfd88e96f0dfb4688f355fed5cc517c73dc925 100644 (file)
@@ -1,9 +1,11 @@
 Description: Add Makefile for libpremnotify
  This allows easy cross-compilation of the libpremnotify.
 
+Index: hercules-compiler_2017.11/HerculesCompiler/libpremnotify/Makefile
+===================================================================
 --- /dev/null
-+++ hercules-compiler-2017.11/HerculesCompiler/libpremnotify/Makefile
-@@ -0,0 +1,9 @@
++++ hercules-compiler_2017.11/HerculesCompiler/libpremnotify/Makefile
+@@ -0,0 +1,12 @@
 +PREFIX=/usr/local
 +
 +all: libpremnotify-cpu.a
@@ -12,4 +14,7 @@ Description: Add Makefile for libpremnotify
 +      $(AR) rcs $@ $^
 +
 +install: all
-+      install -m 644 libpremnotify-cpu.a $(DESTDIR)$(PREFIX)/lib/hercules
++      install -D -m 644 libpremnotify-cpu.a $(DESTDIR)$(PREFIX)/lib/hercules/libpremnotify-cpu.a
++
++clean:
++      rm -rf libpremnotify-cpu.o libpremnotify-cpu.a