[pybliographer/gtk3] build: simplify Makefile rules for pybrc
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer/gtk3] build: simplify Makefile rules for pybrc
- Date: Fri, 21 Mar 2014 16:51:52 +0000 (UTC)
commit 627131d6a559567ec11624f62f69f1471ca25946
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Thu Mar 20 11:32:54 2014 -0700
build: simplify Makefile rules for pybrc
Makefile.am | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e0e4dde..6523efc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,8 +47,9 @@ app_DATA = pybliographic.desktop
bin_SCRIPTS = pybliographer
+pyb_DATA = pybrc.py
+
EXTRA_DIST = setup-check.py \
- pybrc.py \
pybliographer.py \
etc/installer.in \
pybliographic.keys.in \
@@ -71,11 +72,6 @@ pybliographer: $(top_srcdir)/pybliographer.py etc/installer
$(SHELL) etc/installer < $(top_srcdir)/pybliographer.py > pybliographer
chmod 755 pybliographer
-install-data-local:
- mv -f $(DESTDIR)$(pybdir)/pybrc.py $(DESTDIR)$(pybdir)/pybrc.old || true
- $(INSTALL_DATA) $(srcdir)/pybrc.py $(DESTDIR)$(pybdir)
- $(Python) -c "import compileall ; compileall.compile_dir ('"$(DESTDIR)$(pybdir)"');"
-
pybliographic.keys: pybliographic.keys.in Makefile
sed -e 's^\ icondir\@^$(appicondir)^g' \
< $(srcdir)/pybliographic.keys.in > pybliographic.keys.tmp \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]