]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.real
afs.h: Don't try to list all supported audio formats.
[paraslash.git] / Makefile.real
index 6d839880d96808b72e16a2d0410396a09cfa6955..d6ffe0c424a2adf2a623d8b2376f327932142911 100644 (file)
@@ -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