summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/Makefile b/src/Makefile
index 933b8e2..04a65ae 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,14 +51,6 @@ extra_files = \
xpi.mk \
$(NULL)
-bindir_files = \
- dh_xul-ext \
- install-xpi \
- xpi-pack \
- xpi-repack \
- xpi-unpack \
- moz-version
-
extra_dirs = \
mozclient \
mozclient/patches \
@@ -79,18 +71,12 @@ build: $(subst_files)
chmod 644 $@
install: $(subst_files) $(extra_files) $(foreach dir,$(extra_dirs),$(wildcard $(dir)/*))
+ python setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
install -m 755 -d $(DESTDIR)$(DATADIR) $(foreach dir,$(extra_dirs),$(DESTDIR)$(DATADIR)/$(dir))
install -m 644 $(subst_files) $(extra_files) $(DESTDIR)$(DATADIR)
- install -m 755 -d $(DESTDIR)$(BINDIR)
- install -m 755 $(bindir_files) $(DESTDIR)$(BINDIR)
for dir in $(extra_dirs) ; do \
install -m 644 `echo $$dir/*` $(DESTDIR)$(DATADIR)/$$dir ; \
done
- install -m 644 -D moz_version.py $(DESTDIR)$(DATADIR)/moz_version.py
- for dir in $(shell pyversions -s); do \
- mkdir -p $(DESTDIR)$(PREFIX)/lib/$$dir/site-packages/; \
- ln -s ../../../share/mozilla-devscripts/moz_version.py $(DESTDIR)$(PREFIX)/lib/$$dir/site-packages/; \
- done
find $(DESTDIR)$(DATADIR) -type f \( -name \*.pl -o -name \*.sh \) -exec chmod -v 755 {} \;
chmod 755 $(DESTDIR)$(DATADIR)/minefield-packager.mk
install -m 644 xul-app-data.csv.$(VENDOR) $(DESTDIR)$(DATADIR)/xul-app-data.csv