From 35993f0cd49206666262cfdd2be89af41ec28a1d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 17 Jan 2009 19:22:14 +0100 Subject: [PATCH] Move ggo files to a separate directory. --- Makefile.in | 49 ++++++++++--------- afh.ggo => ggo/afh.ggo | 0 alsa_write.ggo => ggo/alsa_write.ggo | 0 amp_filter.ggo => ggo/amp_filter.ggo | 0 audioc.ggo => ggo/audioc.ggo | 0 audiod.ggo => ggo/audiod.ggo | 0 client.ggo => ggo/client.ggo | 0 .../compress_filter.ggo | 0 dccp_recv.ggo => ggo/dccp_recv.ggo | 0 fade.ggo => ggo/fade.ggo | 0 file_write.ggo => ggo/file_write.ggo | 0 filter.ggo => ggo/filter.ggo | 0 fsck.ggo => ggo/fsck.ggo | 0 grab_client.ggo => ggo/grab_client.ggo | 0 gui.ggo => ggo/gui.ggo | 0 http_recv.ggo => ggo/http_recv.ggo | 0 mp3dec_filter.ggo => ggo/mp3dec_filter.ggo | 0 oggdec_filter.ggo => ggo/oggdec_filter.ggo | 0 osx_write.ggo => ggo/osx_write.ggo | 0 recv.ggo => ggo/recv.ggo | 0 server.ggo => ggo/server.ggo | 0 udp_recv.ggo => ggo/udp_recv.ggo | 0 write.ggo => ggo/write.ggo | 0 23 files changed, 25 insertions(+), 24 deletions(-) rename afh.ggo => ggo/afh.ggo (100%) rename alsa_write.ggo => ggo/alsa_write.ggo (100%) rename amp_filter.ggo => ggo/amp_filter.ggo (100%) rename audioc.ggo => ggo/audioc.ggo (100%) rename audiod.ggo => ggo/audiod.ggo (100%) rename client.ggo => ggo/client.ggo (100%) rename compress_filter.ggo => ggo/compress_filter.ggo (100%) rename dccp_recv.ggo => ggo/dccp_recv.ggo (100%) rename fade.ggo => ggo/fade.ggo (100%) rename file_write.ggo => ggo/file_write.ggo (100%) rename filter.ggo => ggo/filter.ggo (100%) rename fsck.ggo => ggo/fsck.ggo (100%) rename grab_client.ggo => ggo/grab_client.ggo (100%) rename gui.ggo => ggo/gui.ggo (100%) rename http_recv.ggo => ggo/http_recv.ggo (100%) rename mp3dec_filter.ggo => ggo/mp3dec_filter.ggo (100%) rename oggdec_filter.ggo => ggo/oggdec_filter.ggo (100%) rename osx_write.ggo => ggo/osx_write.ggo (100%) rename recv.ggo => ggo/recv.ggo (100%) rename server.ggo => ggo/server.ggo (100%) rename udp_recv.ggo => ggo/udp_recv.ggo (100%) rename write.ggo => ggo/write.ggo (100%) diff --git a/Makefile.in b/Makefile.in index 30bc63fb..baae37b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,9 +59,10 @@ BINARIES = para_server para_client para_audioc para_recv \ man_binaries := $(BINARIES) man_pages := $(patsubst %, man/man1/%.1, $(man_binaries)) man_pages_in := $(patsubst %, web/%.man.in.html, $(man_binaries)) -gengetopts := $(wildcard *.ggo) -gengetopts_c := $(gengetopts:.ggo=.cmdline.c) -gengetopts_h := $(gengetopts:.ggo=.cmdline.h) +ggo_dir := ggo +gengetopts := $(wildcard $(ggo_dir)/*.ggo) +gengetopts_c := $(patsubst %/,, $(gengetopts:.ggo=.cmdline.c)) +gengetopts_h := $(patsubst %/,, $(gengetopts:.ggo=.cmdline.h)) autocrap := config.h.in configure tarball_pfx := @PACKAGE_TARNAME@-@PACKAGE_VERSION@ tarball_delete = web versions pics .changelog_before_cvs .changelog_cvs .gitignore @@ -80,7 +81,7 @@ include Makefile.deps module_ggo_opts := --set-version="(@PACKAGE_STRING@, $(codename))" -grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo +grab_client.cmdline.h grab_client.cmdline.c: $(ggo_dir)/grab_client.ggo gengetopt $(module_ggo_opts) \ -S \ --set-package=grab \ @@ -88,31 +89,31 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo --no-handle-error \ --no-handle-version \ --arg-struct-name=grab_client_args_info \ - --file-name=$(subst .ggo,,$<).cmdline \ - --func-name $(subst .ggo,,$<)_cmdline_parser < $< + --file-name=$(subst .ggo,,$(