[pybliographer] build: simplify Makefile rules for pybrc



commit 1e591ccad475539de777447b81ae99bc8eb554a9
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 31a0399..a28fa2d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,8 +42,9 @@ appdata_DATA = pybliographic.appdata.xml
 
 bin_SCRIPTS = pybliographer
 
+pyb_DATA = pybrc.py
+
 EXTRA_DIST =   setup-check.py                  \
-               pybrc.py                        \
                pybliographer.py                \
                etc/installer.in                \
                pybliographic.appdata.xml       \
@@ -60,11 +61,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)"');"
-
 update_desktop_database = update-desktop-database $(DESTDIR)$(appdir) \
        || echo "**** Warning: cannot update mime cache (recommended for Gnome >= 2.8)"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]