zoom: Fixed some Makefile bugs.
This commit is contained in:
parent
8c91dab105
commit
e3085adf83
5 changed files with 14 additions and 15 deletions
|
@ -9,13 +9,9 @@ zoom_bin_SOURCES = zoom-bin.c
|
|||
zoom_bin_CFLAGS = @libzoom_CFLAGS@
|
||||
zoom_bin_LDADD = @libzoom_LIBS@
|
||||
|
||||
EXTRA_DIST = zoom levels/level.dtd levels/level.xml tex/*
|
||||
EXTRA_DIST = levels/level.dtd levels/*.xml tex/*
|
||||
CLEANFILES = levels/*.lvl
|
||||
|
||||
|
||||
zoom: zoom.in
|
||||
sed -e 's&@gamedir@&$(gamedir)&' < zoom.in > zoom
|
||||
chmod +x zoom
|
||||
|
||||
.xml.lvl:
|
||||
gzip -cn9 $< > $@
|
||||
|
14
Makefile.in
14
Makefile.in
|
@ -35,7 +35,7 @@ POST_UNINSTALL = :
|
|||
nobase_game_PROGRAMS = zoom-bin$(EXEEXT)
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in $(srcdir)/zoom.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
||||
compile depcomp install-sh missing mkinstalldirs
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
|
@ -46,7 +46,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_FILES = zoom
|
||||
am__installdirs = "$(DESTDIR)$(gamedir)" "$(DESTDIR)$(bindir)" \
|
||||
"$(DESTDIR)$(gamedir)"
|
||||
nobase_gamePROGRAMS_INSTALL = $(install_sh_PROGRAM)
|
||||
|
@ -179,7 +179,8 @@ nobase_game_DATA = levels/level.dtd levels/level.lvl tex/*
|
|||
zoom_bin_SOURCES = zoom-bin.c
|
||||
zoom_bin_CFLAGS = @libzoom_CFLAGS@
|
||||
zoom_bin_LDADD = @libzoom_LIBS@
|
||||
EXTRA_DIST = zoom levels/level.dtd levels/level.xml tex/*
|
||||
EXTRA_DIST = levels/level.dtd levels/*.xml tex/*
|
||||
CLEANFILES = levels/*.lvl
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||
|
||||
|
@ -235,6 +236,8 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
zoom: $(top_builddir)/config.status $(srcdir)/zoom.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
install-nobase_gamePROGRAMS: $(nobase_game_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(gamedir)" || $(MKDIR_P) "$(DESTDIR)$(gamedir)"
|
||||
|
@ -535,6 +538,7 @@ install-strip:
|
|||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
@ -623,10 +627,6 @@ uninstall-am: uninstall-binSCRIPTS uninstall-nobase_gameDATA \
|
|||
uninstall-nobase_gameDATA uninstall-nobase_gamePROGRAMS
|
||||
|
||||
|
||||
zoom: zoom.in
|
||||
sed -e 's&@gamedir@&$(gamedir)&' < zoom.in > zoom
|
||||
chmod +x zoom
|
||||
|
||||
.xml.lvl:
|
||||
gzip -cn9 $< > $@
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
|
|
3
configure
vendored
3
configure
vendored
|
@ -3787,6 +3787,8 @@ done
|
|||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files zoom"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
@ -4374,6 +4376,7 @@ do
|
|||
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
||||
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
||||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||
"zoom") CONFIG_FILES="$CONFIG_FILES zoom" ;;
|
||||
|
||||
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||||
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||||
|
|
|
@ -26,4 +26,4 @@ AC_HEADER_TIME
|
|||
AC_CHECK_FUNCS([gettimeofday])
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
AC_OUTPUT([zoom])
|
||||
|
|
2
zoom.in
2
zoom.in
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd @gamedir@
|
||||
cd @prefix@/games/zoom
|
||||
exec ./zoom-bin
|
||||
|
|
Reference in a new issue