X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=Makefile.real;h=d6ffe0c424a2adf2a623d8b2376f327932142911;hb=dadb47c6870e1b93e32ffb5e755ab23b4651a23d;hp=6d839880d96808b72e16a2d0410396a09cfa6955;hpb=a3aee62340ab85da20d290df8cda1c947cdbe5de;p=paraslash.git diff --git a/Makefile.real b/Makefile.real index 6d839880..d6ffe0c4 100644 --- a/Makefile.real +++ b/Makefile.real @@ -51,11 +51,10 @@ man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables)) autocrap := config.h.in configure tarball_pfx := $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) -tarball_delete := $(addprefix $(tarball_pfx)/,\ - web .changelog_before_cvs .changelog_cvs .gitignore) +tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore) tarball := $(tarball_pfx).tar.bz2 -.PHONY: dep all clean distclean maintainer-clean install man tarball +.PHONY: dep all clean clean2 distclean maintainer-clean install man tarball all: dep $(prefixed_executables) $(man_pages) dep: $(deps) man: $(man_pages) @@ -87,6 +86,7 @@ DEBUG_CPPFLAGS += -Wredundant-decls DEBUG_CPPFLAGS += -Wall -Wno-sign-compare -Wno-unknown-pragmas DEBUG_CPPFLAGS += -Wformat-security DEBUG_CPPFLAGS += -Wmissing-format-attribute +DEBUG_CPPFLAGS += -Wdeclaration-after-statement ifeq ($(uname_s),Linux) CPPFLAGS += -fdata-sections -ffunction-sections @@ -125,13 +125,13 @@ endif %_command_list.h: %.cmd %.c @[ -z "$(Q)" ] || echo 'GEN $@' - $(Q) ./command_util.sh h < $< >$@ + $(Q) ./command_util.bash h < $< >$@ %_command_list.man: %.cmd %.c @[ -z "$(Q)" ] || echo 'GEN $@' - $(Q) ./command_util.sh man < $< > $@ + $(Q) ./command_util.bash man < $< > $@ %_completion.h: %.cmd %.c @[ -z "$(Q)" ] || echo 'GEN $@' - $(Q) ./command_util.sh compl $(strip $(call TOUPPER,$(*F)))_COMPLETERS \ + $(Q) ./command_util.bash compl $(strip $(call TOUPPER,$(*F)))_COMPLETERS \ $(strip $(call TOUPPER,$(*F)))_COMMANDS < $< > $@ server_command_list.h server_command_list.man server_completion.h: command.c