File: fix-all-target.patch

package info (click to toggle)
audacity 2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 86,844 kB
  • sloc: ansic: 225,005; cpp: 221,240; sh: 27,327; python: 16,896; makefile: 8,186; lisp: 8,002; perl: 317; xml: 307; sed: 16
file content (27 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (4)
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
Description: Fix all target to not build disabled targets.
 The all target should not try to build targets that are disabled by configure.
 Otherwise make will try to build the programs (even if you disabled them) and
 fail if libsndfile was not found.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 12950)
+++ Makefile.in	(working copy)
@@ -34,7 +34,7 @@
 #   clean     -- remove binary targets
 #   distclean -- remove all targets
 #
-default:	@TARGETS@
+all:	@TARGETS@
 
 # Compile flags
 #
@@ -231,8 +231,6 @@
 
 rdfgen:		$(RDFGEN_TARGET)
 
-all:		sdk plugins host rdfgen test
-
 $(SDK_STATIC):	$(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS)
 		$(AR) r $@ $(SDK_OBJECTS)