From 37c6685248ba47852f8cf3b83a9d46b8ceafaeff Mon Sep 17 00:00:00 2001 From: Paul Goins Date: Sat, 11 Dec 2010 15:15:33 +0900 Subject: [PATCH] Possibly finished up automake-related stuff. 'make dist' *might* produce a real distribution now. --- c/kpengine/Makefile.am | 17 +++++++++++------ python/Makefile.am | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 6 deletions(-) rewrite c/kpengine/Makefile.am (61%) diff --git a/c/kpengine/Makefile.am b/c/kpengine/Makefile.am dissimilarity index 61% index b75e9c2..91dec40 100644 --- a/c/kpengine/Makefile.am +++ b/c/kpengine/Makefile.am @@ -1,6 +1,11 @@ -bin_PROGRAMS = jben_kpengine -jben_kpengine_SOURCES = kpengine.c scoring.c util.c -jben_kpengine_CFLAGS = -DFOR_PILOT_COMPAT - -kpdatadir = $(pkgdatadir)/kpdata -dist_kpdata_DATA = data/01.unistrok data/02.unistrok data/03.unistrok data/04.unistrok data/05.unistrok data/06.unistrok data/07.unistrok data/08.unistrok data/09.unistrok data/10.unistrok data/11.unistrok data/12.unistrok data/13.unistrok data/14.unistrok data/15.unistrok data/16.unistrok data/17.unistrok data/18.unistrok data/19.unistrok data/20.unistrok data/21.unistrok data/22.unistrok data/23.unistrok +bin_PROGRAMS = jben_kpengine +jben_kpengine_SOURCES = kpengine.c scoring.c util.c +jben_kpengine_CFLAGS = -DFOR_PILOT_COMPAT + +kpdatadir = $(pkgdatadir)/kpdata +dist_kpdata_DATA = data/01.unistrok data/02.unistrok data/03.unistrok \ + data/04.unistrok data/05.unistrok data/06.unistrok data/07.unistrok \ + data/08.unistrok data/09.unistrok data/10.unistrok data/11.unistrok \ + data/12.unistrok data/13.unistrok data/14.unistrok data/15.unistrok \ + data/16.unistrok data/17.unistrok data/18.unistrok data/19.unistrok \ + data/20.unistrok data/21.unistrok data/22.unistrok data/23.unistrok diff --git a/python/Makefile.am b/python/Makefile.am index c997c9c..a617f79 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -13,3 +13,36 @@ install-exec-local: python setup.py install + +# We also need to tell Automake to include all the Python sources and +# other documents in the dist tarball. Here's where we do that. + +EXTRA_DIST = \ + jben/__init__.py jben/app.py jben/console.py \ + jben/dict.py jben/dict_downloader.py jben/download_thread.py \ + jben/global_refs.py jben/jben_globals.py jben/main.py \ + jben/preferences.py \ + jben/interface/__init__.py \ + jben/interface/console/__init__.py \ + jben/interface/gtk/__init__.py \ + jben/interface/gtk/dict_manager.py \ + jben/interface/gtk/dialog/__init__.py \ + jben/interface/gtk/dialog/dict_mirror_select.py \ + jben/interface/gtk/dialog/vocablisteditor.py \ + jben/interface/gtk/dialog/dict_download.py \ + jben/interface/gtk/dialog/kanjilisteditor.py \ + jben/interface/gtk/widget/__init__.py \ + jben/interface/gtk/widget/infomessage.py \ + jben/interface/gtk/widget/search_frame.py \ + jben/interface/gtk/widget/worddict.py \ + jben/interface/gtk/widget/hwpad.py \ + jben/interface/gtk/widget/kanjidict.py \ + jben/interface/gtk/widget/storedsize.py \ + jben/interface/gtk/widget/yesnodialog.py \ + jben/interface/gtk/window/__init__.py \ + jben/interface/gtk/window/kanjihwsearch.py \ + jben/interface/gtk/window/main.py \ + jben/images/jben.xpm jben/images/jben_16.xpm \ + jben/images/jben_32.xpm jben/images/jben_48.xpm \ + scripts/jben.py \ + test/__init__.py test/dict_downloader.py -- 2.11.4.GIT