From a1731b6d1de448afb3a1b3ba7b774dcb50d543a4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 10 May 2011 21:35:44 -0700 Subject: [PATCH] dissect-sysfile: Move to new "utilities" directory as "pspp-dump-sav". This utility comes in handy from time to time working with end users, so I think it's best to start installing it with the other binaries, instead of hiding it in the "tests" directory and having to explain where to find it. --- Makefile.am | 1 + tests/automake.mk | 7 ------- utilities/automake.mk | 7 +++++++ tests/dissect-sysfile.c => utilities/pspp-dump-sav.c | 0 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 utilities/automake.mk rename tests/dissect-sysfile.c => utilities/pspp-dump-sav.c (100%) diff --git a/Makefile.am b/Makefile.am index deafc2e2..bed99f40 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,6 +63,7 @@ include $(top_srcdir)/lib/automake.mk include $(top_srcdir)/doc/automake.mk include $(top_srcdir)/examples/automake.mk include $(top_srcdir)/src/automake.mk +include $(top_srcdir)/utilities/automake.mk include $(top_srcdir)/tests/automake.mk diff --git a/tests/automake.mk b/tests/automake.mk index d9012a24..d02c59fe 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -177,13 +177,6 @@ tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 tests_data_inexactify_SOURCES = tests/data/inexactify.c -noinst_PROGRAMS += tests/dissect-sysfile -tests_dissect_sysfile_SOURCES = \ - src/libpspp/integer-format.c \ - src/libpspp/float-format.c \ - tests/dissect-sysfile.c -tests_dissect_sysfile_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" - check_PROGRAMS += tests/language/lexer/command-name-test tests_language_lexer_command_name_test_SOURCES = \ src/data/identifier.c \ diff --git a/utilities/automake.mk b/utilities/automake.mk new file mode 100644 index 00000000..ec4ccf20 --- /dev/null +++ b/utilities/automake.mk @@ -0,0 +1,7 @@ +bin_PROGRAMS += utilities/pspp-dump-sav +utilities_pspp_dump_sav_SOURCES = \ + src/libpspp/integer-format.c \ + src/libpspp/float-format.c \ + utilities/pspp-dump-sav.c +utilities_pspp_dump_sav_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" + diff --git a/tests/dissect-sysfile.c b/utilities/pspp-dump-sav.c similarity index 100% rename from tests/dissect-sysfile.c rename to utilities/pspp-dump-sav.c -- 2.30.2