prepare for alpha1 release.
authorDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:47:24 +0000 (08:47 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:47:24 +0000 (08:47 +0000)
make 'make dist' work.

17 files changed:
Makefile.am
configure.ac
data/Makefile.am
openbox/Makefile.am
parser/Makefile.am
plugins/Makefile.am
plugins/keyboard/Makefile.am
plugins/menu/Makefile.am
plugins/mouse/Makefile.am
plugins/placement/Makefile.am
plugins/resistance/Makefile.am
render/Makefile.am
themes/Makefile.am
themes/ebox_data/Makefile.am
themes/fieron2_data/Makefile.am
themes/fieron_data/Makefile.am
tools/obconf/Makefile.am

index 433af84..172b3b1 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = po themes data render parser kernel plugins tools
+SUBDIRS = m4 po themes data render parser kernel plugins tools
 MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
 
 doc:
@@ -9,7 +9,11 @@ distclean-local:
 
 ACLOCAL_AMFLAGS = -I m4
 
-EXTRA_DIST = config.rpath mkinstalldirs INSTALL README \
-             COPYING AUTHORS CHANGELOG
+EXTRA_DIST = \
+  config.rpath \
+  mkinstalldirs \
+  README \
+  COPYING \
+  AUTHORS
 
 .PHONY: doc
index 8f4a68e..e33f375 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ([2.54])
-AC_INIT([openbox], [2.90.0cvs], [http://bugzilla.icculus.org])
+AC_INIT([openbox], [3.0-alpha1], [http://bugzilla.icculus.org])
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([kernel/openbox.c])
 
@@ -16,14 +16,6 @@ OB_COMPILER_FLAGS
 AC_C_CONST
 AC_C_INLINE
 
-if test "$CVS" = "yes"; then
-    AC_PATH_PROG([FLEX], [flex])
-    test "$FLEX" || AC_MSG_ERROR([flex not found])
-
-    AC_PATH_PROG([BISON], [bison])
-    test "BISON" || AC_MSG_ERROR([bison not found])
-fi
-
 AC_DISABLE_STATIC
 AC_LIBTOOL_DLOPEN
 AC_PROG_LIBTOOL
@@ -96,6 +88,10 @@ AM_CONDITIONAL(OBCONF, [test "$use_gtk" = "yes" && test "$use_glade" = "yes"])
 # Check for session management
 X11_SM
 
+#EFENCE_LIBS=-lefence
+EFENCE_LIBS=""
+AC_SUBST(EFENCE_LIBS)
+
 # Check for X11 extensions
 X11_EXT_XKB
 X11_EXT_XRANDR
@@ -104,6 +100,7 @@ X11_EXT_SHAPE
 X11_EXT_XINERAMA
 
 AC_CONFIG_FILES([Makefile
+                 m4/Makefile
                  po/Makefile.in
                  themes/Makefile
                  themes/ebox_data/Makefile
index a16d18c..99d47b3 100644 (file)
@@ -2,6 +2,8 @@ rcdir=$(datadir)/openbox
 
 rc_DATA=rc3
 
+EXTRA_DIST=$(rc_DATA)
+
 MAINTAINERCLEANFILES=Makefile.in
 
 distclean-local:
index adc06bf..8e5144a 100644 (file)
@@ -6,38 +6,81 @@ desktopfilesdir=$(datadir)/gnome/wm-properties
 binary=openbox
 url=http://openbox.org/
 
-CPPFLAGS=$(X_CFLAGS) $(SM_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) \
-         $(GMODULE_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) $(XML_CFLAGS) \
-         @CPPFLAGS@ \
-         -DLOCALEDIR=\"$(localedir)\" \
-         -DPLUGINDIR=\"$(plugindir)\" \
-         -DRCDIR=\"$(rcdir)\" \
-         -DG_LOG_DOMAIN=\"Openbox\" \
-         -DBINARY=\"$(binary)\"
+AM_CPPFLAGS=$(X_CFLAGS) $(SM_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) \
+            $(GMODULE_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) $(XML_CFLAGS) \
+            -DLOCALEDIR=\"$(localedir)\" \
+            -DPLUGINDIR=\"$(plugindir)\" \
+            -DRCDIR=\"$(rcdir)\" \
+            -DG_LOG_DOMAIN=\"Openbox\" \
+            -DBINARY=\"$(binary)\"
 
 INCLUDES=-I..
 LIBS=$(X_LIBS) $(SM_LIBS) $(XFT_LIBS) $(XINERAMA_LIBS) $(XKB_LIBS) \
        $(XRANDR_LIBS) $(VIDMODE_LIBS) $(XSHAPE_LIBS) $(GLIB_LIBS) \
-       $(GMODULE_LIBS) $(LIBSN_LIBS) $(XML_LIBS) @LIBS@ @LIBINTL@
+       $(GMODULE_LIBS) $(LIBSN_LIBS) $(XML_LIBS) $(EFENCE_LIBS) \
+       @LIBS@ @LIBINTL@
 
 bin_PROGRAMS=$(binary)
 
 openbox_LDADD=-lobrender -L../render -lobparser -L../parser
 openbox_LDFLAGS=-export-dynamic
-openbox_SOURCES=action.c client.c config.c \
-                extensions.c focus.c frame.c grab.c menu.c menu_render.c \
-                openbox.c framerender.c plugin.c prop.c screen.c \
-                stacking.c dispatch.c event.c group.c timer.c xerror.c \
-                moveresize.c startup.c popup.c dock.c window.c
-
-noinst_HEADERS=action.h client.h config.h dispatch.h event.h extensions.h \
-               focus.h frame.h framerender.h geom.h gettext.h grab.h group.h \
-               menu.h openbox.h plugin.h prop.h screen.h \
-               stacking.h timer.h xerror.h moveresize.h startup.h popup.h \
-               dock.h window.h
+openbox_SOURCES=\
+  action.h \
+  action.c \
+  client.h \
+  client.c \
+  config.h \
+  config.c \
+  extensions.h \
+  extensions.c \
+  focus.h \
+  focus.c \
+  frame.h \
+  frame.c \
+  grab.h \
+  grab.c \
+  menu.h \
+  menu.c \
+  menu_render.c \
+  openbox.h \
+  openbox.c \
+  framerender.h \
+  framerender.c \
+  plugin.h \
+  plugin.c \
+  prop.h \
+  prop.c \
+  screen.h \
+  screen.c \
+  stacking.h \
+  stacking.c \
+  dispatch.h \
+  dispatch.c \
+  event.h \
+  event.c \
+  group.h \
+  group.c \
+  timer.h \
+  timer.c \
+  xerror.h \
+  xerror.c \
+  moveresize.h \
+  moveresize.c \
+  startup.h \
+  startup.c \
+  popup.h \
+  popup.c \
+  dock.h \
+  dock.c \
+  window.h \
+  window.c \
+  gettext.h \
+  geom.h
 
 desktopfiles_DATA=openbox.desktop
 
+EXTRA_DIST=$(desktopfiles_DATA)
+
 MAINTAINERCLEANFILES=Makefile.in
 
 distclean-local:
index fe80db1..3a6b81c 100644 (file)
@@ -1,18 +1,16 @@
 localedir=$(datadir)/locale
 rcdir=$(datadir)/openbox
 
-CPPFLAGS=$(GLIB_CFLAGS) $(XML_CFLAGS) @CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Parser\" \
-         -DLOCALEDIR=\"$(localedir)\" \
-         -DRCDIR=\"$(rcdir)\"
+AM_CPPFLAGS=$(GLIB_CFLAGS) $(XML_CFLAGS) \
+            -DG_LOG_DOMAIN=\"Parser\" \
+            -DLOCALEDIR=\"$(localedir)\" \
+            -DRCDIR=\"$(rcdir)\"
 
 INCLUDES=-I..
 LIBS=$(GLIB_LIBS) $(XML_LIBS) @LIBS@
 
 lib_LTLIBRARIES=libobparser.la
-libobparser_la_SOURCES=parse.c
-
-noinst_HEADERS=parse.h
+libobparser_la_SOURCES=parse.c parse.h
 
 MAINTAINERCLEANFILES=Makefile.in
 
index ec89616..3d623b2 100644 (file)
@@ -1,6 +1,6 @@
 SUBDIRS = keyboard mouse placement menu resistance
 
-noinst_HEADERS = interface.h obconf_interface.h
+EXTRA_DIST = interface.h obconf_interface.h
 
 MAINTAINERCLEANFILES= Makefile.in
 
index 4b1e850..82ed50b 100644 (file)
@@ -1,17 +1,21 @@
 plugindir=$(libdir)/openbox/plugins
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
-         $(XML_CFLAGS) @CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+            $(XML_CFLAGS) \
+            -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
 
 INCLUDES=-I../..
 
 plugin_LTLIBRARIES=keyboard.la
 
 keyboard_la_LDFLAGS=-module -avoid-version
-keyboard_la_SOURCES=keyboard.c translate.c tree.c
-
-noinst_HEADERS=keyboard.h keyparse.h translate.h tree.h
+keyboard_la_SOURCES=\
+  keyboard.h \
+  keyboard.c \
+  translate.h \
+  translate.c \
+  tree.h \
+  tree.c
 
 MAINTAINERCLEANFILES=Makefile.in
 
index 3ed9c5c..1e757bd 100644 (file)
@@ -1,24 +1,21 @@
 plugindir=$(libdir)/openbox/plugins
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(XML_CFLAGS)
-         \@CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(XML_CFLAGS) \
+            -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
 
 INCLUDES=-I../..
 
 plugin_LTLIBRARIES=timed_menu.la fifo_menu.la client_menu.la
 
 timed_menu_la_LDFLAGS=-module -avoid-version
-timed_menu_la_SOURCES=timed_menu.c
+timed_menu_la_SOURCES=timed_menu.c timed_menu.h
 
 fifo_menu_la_LDFLAGS=-module -avoid-version
-fifo_menu_la_SOURCES=fifo_menu.c
+fifo_menu_la_SOURCES=fifo_menu.c fifo_menu.h
 
 client_menu_la_LDFLAGS=-module -avoid-version
 client_menu_la_SOURCES=client_menu.c
 
-noinst_HEADERS=timed_menu.h fifo_menu.h
-
 MAINTAINERCLEANFILES=Makefile.in
 
 distclean-local:
index 3d4d6b9..5595fe6 100644 (file)
@@ -1,15 +1,19 @@
 plugindir=$(libdir)/openbox/plugins
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
-         $(XML_CFLAGS)  @CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Plugin-Mouse\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+            $(XML_CFLAGS)  \
+            -DG_LOG_DOMAIN=\"Plugin-Mouse\"
 
 INCLUDES=-I../..
 
 plugin_LTLIBRARIES=mouse.la
 
 mouse_la_LDFLAGS=-module -avoid-version
-mouse_la_SOURCES=mouse.c translate.c
+mouse_la_SOURCES=\
+  mouse.h \
+  mouse.c \
+  translate.h \
+  translate.c
 
 noinst_HEADERS=mouse.h translate.h
 
index 762f5af..58fa1fa 100644 (file)
@@ -1,17 +1,15 @@
 plugindir=$(libdir)/openbox/plugins
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
-         $(XML_CFLAGS) @CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Plugin-Placement\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+            $(XML_CFLAGS) \
+            -DG_LOG_DOMAIN=\"Plugin-Placement\"
 
 INCLUDES=-I../..
 
 plugin_LTLIBRARIES=placement.la
 
 placement_la_LDFLAGS=-module -avoid-version
-placement_la_SOURCES=history.c placement.c
-
-noinst_HEADERS=history.h
+placement_la_SOURCES=history.c history.h placement.c
 
 MAINTAINERCLEANFILES=Makefile.in
 
index 9f95f94..7ef2ea9 100644 (file)
@@ -1,8 +1,8 @@
 plugindir=$(libdir)/openbox/plugins
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
-         $(XML_CFLAGS)  @CPPFLAGS@ \
-         -DPLUGINDIR=\"$(plugindir)\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+            $(XML_CFLAGS) \
+            -DPLUGINDIR=\"$(plugindir)\"
 
 INCLUDES=-I../.. -I../../tools
 
@@ -11,21 +11,22 @@ if OBCONF
 plugin_LTLIBRARIES+=resistance-config.la
 endif
 
-resistance_la_CPPFLAGS=-DG_LOG_DOMAIN=\"Plugin-Resistance\"
+resistance_la_CPPFLAGS=$(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"Plugin-Resistance\"
 resistance_la_LDFLAGS=-module -avoid-version
-resistance_la_SOURCES=resistance.c
+resistance_la_SOURCES=resistance.c resistance.h
 
 if OBCONF
-resistance_config_la_CPPFLAGS=-DG_LOG_DOMAIN=\"Plugin-Resistance\" \
+resistance_config_la_CPPFLAGS=$(AM_CPPFLAGS) \
+                              -DG_LOG_DOMAIN=\"Plugin-Resistance\" \
                               $(GTK_CFLAGS) $(GLADE_CFLAGS)
 resistance_config_la_LDFLAGS=-module -avoid-version
 resistance_config_la_SOURCES=resistance_config.c
 endif
 
-noinst_HEADERS=resistance.h
-
 noinst_DATA=resistance.glade resistance.gladep
 
+EXTRA_DIST=$(noinst_DATA)
+
 MAINTAINERCLEANFILES= Makefile.in
 
 distclean-local:
index 87431ae..49e9b4f 100644 (file)
@@ -2,10 +2,10 @@ themedir=$(datadir)/openbox/themes
 
 theme=operation
 
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) @CPPFLAGS@ \
-         -DG_LOG_DOMAIN=\"Render\" \
-         -DDEFAULT_THEME=\"$(theme)\" \
-         -DTHEMEDIR=\"$(themedir)\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+            -DG_LOG_DOMAIN=\"Render\" \
+            -DDEFAULT_THEME=\"$(theme)\" \
+            -DTHEMEDIR=\"$(themedir)\"
 
 INCLUDES=-I..
 LIBS=$(XFT_LIBS) $(GLIB_LIBS) $(GL_LIBS) @LIBS@
@@ -28,6 +28,7 @@ libobrender_la_SOURCES=\
   mask.c \
   render.h \
   render.c \
+  theme.h \
   theme.c \
   instance.h \
   instance.c
index 9bcd07c..381b9d1 100644 (file)
@@ -7,6 +7,8 @@ theme_DATA=artwiz bbs bluebox cthulhain deep ebox fieron fieron2 flux frobozz \
            purplehaaze shade steelblue steelblue2 the_orange trisb twice \
            warp-xp
 
+EXTRA_DIST=$(theme_DATA)
+
 MAINTAINERCLEANFILES=Makefile.in
 
 distclean-local:
index a200ef7..a03f815 100644 (file)
@@ -4,3 +4,10 @@ themedata_DATA=\
   close.xbm \
   iconify.xbm \
   max.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+       $(RM) *\~ *.orig *.rej .\#*
index 0e266c7..3309af5 100644 (file)
@@ -5,3 +5,10 @@ themedata_DATA=\
   iconify.xbm \
   max.xbm \
   stick.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+       $(RM) *\~ *.orig *.rej .\#*
index 6f2c887..0f35e1a 100644 (file)
@@ -5,3 +5,10 @@ themedata_DATA=\
   iconify.xbm \
   max.xbm \
   stick.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+       $(RM) *\~ *.orig *.rej .\#*
index a83049f..fcfadba 100644 (file)
@@ -2,12 +2,11 @@ localedir=$(datadir)/locale
 plugindir=$(libdir)/openbox/plugins
 rcdir=$(datadir)/openbox
 
-CPPFLAGS=$(GTK_CFLAGS) $(GLADE_CFLAGS) $(GMODULE_CFLAGS) $(XML_CFLAGS) \
-         @CPPFLAGS@ \
-         -DLOCALEDIR=\"$(localedir)\" \
-         -DRCDIR=\"$(rcdir)\" \
-         -DPLUGINDIR=\"$(plugindir)\" \
-         -DG_LOG_DOMAIN=\"ObConf\"
+AM_CPPFLAGS=$(GTK_CFLAGS) $(GLADE_CFLAGS) $(GMODULE_CFLAGS) $(XML_CFLAGS) \
+            -DLOCALEDIR=\"$(localedir)\" \
+            -DRCDIR=\"$(rcdir)\" \
+            -DPLUGINDIR=\"$(plugindir)\" \
+            -DG_LOG_DOMAIN=\"ObConf\"
 
 INCLUDES=-I../..
 LIBS=$(GTK_LIBS) $(GLADE_LIBS) $(GMODULE_LIBS) $(XML_LIBS) @LIBS@ @LIBINTL@
@@ -16,9 +15,12 @@ bin_PROGRAMS=obconf
 
 obconf_LDADD=-lobparser -L../../parser
 obconf_LDFLAGS=-export-dynamic
-obconf_SOURCES=main.c about.c plugins.c
-
-noinst_HEADERS=obconf.h plugins.h
+obconf_SOURCES=\
+  obconf.h \
+  main.c \
+  about.c \
+  plugins.h \
+  plugins.c
 
 MAINTAINERCLEANFILES=Makefile.in