Skip to content

Commit c9feb78

Browse files
committed
Merge branch 'release-0.23'
2 parents 2bdbdc0 + 0dfdd7a commit c9feb78

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

Makefile.am

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ DESTDIR ?= /
3232
OUTPUT := $(CURDIR)/bin
3333
OUTPUT_JS := $(CURDIR)/build/out
3434

35-
BIN := $(DESTDIR)/usr/sbin
36-
CONFIG_DIR := $(DESTDIR)/$(CONFIG_PATH)
37-
SHARE := $(DESTDIR)/usr/share/spreed-webrtc-server
35+
BIN := $(DESTDIR)@prefix@/sbin
36+
CONFIG_DIR := $(DESTDIR)@prefix@$(CONFIG_PATH)
37+
SHARE := $(DESTDIR)@prefix@/share/spreed-webrtc-server
3838

3939
BUILD_ARCH := $(shell $(GO) env GOARCH)
4040
BUILD_OS := $(shell go env GOOS)
@@ -62,7 +62,7 @@ endif
6262
getupdate: vendorclean get
6363

6464
binary: get
65-
$(GO) build $(GOBUILDFLAGS) -o $(OUTPUT)/$(EXENAME) -ldflags '$(LDFLAGS)' app/$(EXENAME)
65+
$(GO) build $(GOBUILDFLAGS) -o bin/$(EXENAME) -ldflags '$(LDFLAGS)' app/$(EXENAME)
6666

6767
binaryrace: GOBUILDFLAGS := $(GOBUILDFLAGS) -race
6868
binaryrace: binary
@@ -130,7 +130,7 @@ install:
130130
$(INSTALL) -d $(SHARE)/www/static/translation
131131
$(INSTALL) -d $(SHARE)/www/static/css
132132
$(INSTALL) -d $(SHARE)/www/static/js/libs/pdf
133-
$(INSTALL) $(DIST_BIN)/* $(BIN)
133+
$(INSTALL) bin/$(EXENAME) $(BIN)
134134
$(INSTALL) -m 644 server.conf.in $(CONFIG_DIR)/$(CONFIG_FILE)
135135
$(INSTALL) html/* $(SHARE)/www/html
136136
$(INSTALL) static/img/* $(SHARE)/www/static/img
@@ -147,6 +147,7 @@ clean:
147147
$(GO) clean -i -r app/... 2>/dev/null || true
148148
rm -rf $(CURDIR)/static/fonts
149149
rm -rf $(CURDIR)/build/out
150+
rm -f $(CURDIR)/bin/$(EXENAME)
150151

151152
distclean: clean
152153
rm -rf $(DIST)

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
spreed-webrtc-server (0.23.1) precise; urgency=low
2+
3+
* Fixed strict mode on release compile.
4+
* Fixed prefix support of make install.
5+
6+
-- Simon Eisenmann <[email protected]> Wed, 10 Dec 2014 14:03:15 +0100
7+
18
spreed-webrtc-server (0.23.0) precise; urgency=low
29

310
* Added support for renegotation in web client (disabled).

static/js/base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
*
2020
*/
2121

22-
"use strict";
2322
define([ // Helper module to put non dependency base libraries together.
2423
'modernizr',
2524
'moment',
@@ -33,4 +32,5 @@ define([ // Helper module to put non dependency base libraries together.
3332
'rAF',
3433
'humanize',
3534
'sha',
36-
'sjcl'], function() {});
35+
'sjcl',
36+
'webrtc.adapter'], function() {});

0 commit comments

Comments
 (0)