You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
--- bup-0.29.2/Makefile
|
|
+++ bup-0.29.2/Makefile
|
|
@@ -25,7 +25,7 @@
|
|
os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok))
|
|
os := $(call shout,$(os),Unable to determine OS)
|
|
|
|
-CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
|
|
+CFLAGS := -Wall -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
|
|
CFLAGS := -D_FILE_OFFSET_BITS=64 $(CFLAGS)
|
|
SOEXT:=.so
|
|
|
|
@@ -93,10 +93,11 @@
|
|
dest_docdir := $(DESTDIR)$(DOCDIR)
|
|
dest_bindir := $(DESTDIR)$(BINDIR)
|
|
dest_libdir := $(DESTDIR)$(LIBDIR)
|
|
+dest_sitedir := $(DESTDIR)$(SITEDIR)
|
|
|
|
install: all
|
|
- $(INSTALL) -d $(dest_bindir) \
|
|
- $(dest_libdir)/bup $(dest_libdir)/cmd \
|
|
+ $(INSTALL) -d $(dest_bindir) $(dest_libdir) \
|
|
+ $(dest_sitedir)/bup $(dest_libdir)/cmd \
|
|
$(dest_libdir)/web $(dest_libdir)/web/static
|
|
test -z "$(man_roff)" || install -d $(dest_mandir)/man1
|
|
test -z "$(man_roff)" || $(INSTALL) -m 0644 $(man_roff) $(dest_mandir)/man1
|
|
@@ -109,10 +110,10 @@
|
|
done
|
|
$(INSTALL) -pm 0644 \
|
|
lib/bup/*.py \
|
|
- $(dest_libdir)/bup
|
|
+ $(dest_sitedir)/bup
|
|
$(INSTALL) -pm 0755 \
|
|
lib/bup/*$(SOEXT) \
|
|
- $(dest_libdir)/bup
|
|
+ $(dest_sitedir)/bup
|
|
$(INSTALL) -pm 0644 \
|
|
lib/web/static/* \
|
|
$(dest_libdir)/web/static/
|