Package: stk / 4.5.2+dfsg-5

Rename-demo-to-stk-demo.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From: Felipe Sateler <fsateler@debian.org>
Date: Mon, 21 Sep 2015 09:20:07 -0300
Subject: Rename demo to stk-demo

---
 Makefile.in               | 2 +-
 projects/demo/Makefile.in | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index f4f04ec..5afd13e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -6,7 +6,7 @@ REALTIME = @realtime@
 
 all :
 	cd src && $(MAKE)
-	cd projects/demo && $(MAKE) libdemo
+	cd projects/demo && $(MAKE) stk-demo
 ifeq ($(REALTIME),yes)
 	cd projects/effects && $(MAKE) libeffects
 	cd projects/ragamatic && $(MAKE) libragamat
diff --git a/projects/demo/Makefile.in b/projects/demo/Makefile.in
index 3955bf5..7278730 100644
--- a/projects/demo/Makefile.in
+++ b/projects/demo/Makefile.in
@@ -1,7 +1,7 @@
 ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
 ### STK demo Makefile - for various flavors of unix
 
-PROGRAMS = demo
+PROGRAMS = stk-demo
 RM = /bin/rm
 SRC_PATH = ../../src
 OBJECT_PATH = @object_path@
@@ -61,8 +61,8 @@ $(OBJECT_PATH)/.placeholder:
 	mkdir -vp $(OBJECT_PATH)
 	touch $(OBJECT_PATH)/.placeholder
 
-demo: demo.cpp $(OBJECTS)
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
+stk-demo: demo.cpp $(OBJECTS)
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
 
 libdemo: demo.cpp
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src -lstk $(LIBRARY)