1
From: siretart@tauware.de
2
Subject: allow package to build via debian/rules
5
Upstream objects to this:
7
13:57 <siretart> hyc: this allows building rtmpdump when your makefile is executed via
9
13:57 <hyc> siretart: the BSD guys will object
10
13:57 <siretart> hyc: this is the case for debian packages, debian/rules, the main
11
buildscript, is implementd in make
12
13:57 <hyc> make -C only works with gnumake
13
13:57 <hyc> look in the svn history, you'll see that it used to use make -C
14
13:57 <siretart> hm, then I'll probably need to carry a local distro patch
15
13:59 <hyc> and why doesn't $(MAKE) $(MAKEFLAGS) work?
16
14:00 <siretart> symptom: 'no rule to make target "w"'
17
14:01 <hyc> that's a gmake bug
18
14:04 <siretart> hm. probably. the use of MAKEFLAGS is at least described in the gmake manual
22
diff --git a/Makefile b/Makefile
23
index 3618dcc..9984ced 100644
26
@@ -57,7 +57,7 @@ install: progs
27
cp rtmpgw$(EXT) rtmpsrv$(EXT) rtmpsuck$(EXT) $(SBINDIR)
28
cp rtmpdump.1 $(MANDIR)/man1
29
cp rtmpgw.8 $(MANDIR)/man8
30
- @cd librtmp; $(MAKE) install $(MAKEFLAGS)
31
+ $(MAKE) -C librtmp install