Skip to content

cafe-desktop/cafe-common

Folders and files

NameName
Last commit message
Last commit date
Oct 20, 2024
Aug 19, 2020
Aug 19, 2020
Jan 27, 2025
Feb 2, 2024
Oct 25, 2020
Jun 22, 2022
Aug 28, 2022
Aug 19, 2020
Aug 19, 2020
Dec 27, 2024
Aug 19, 2020
Aug 19, 2020
Dec 27, 2024

Repository files navigation

This directory contains sample files that should be in pretty much every
CAFE application.

-----------------------------------------------------------------------------

To make this work both for CAFE Applications inside and outside the
CAFE repository tree I did the following:

* There is an `INSIDE_CAFE_COMMON' automake conditional which is defined
  in two places:

  - macros/aclocal-includes.m4 defines this to always be false.

  - cafe-common/configure.in does not include anything from macros and
    defines this to be true.

* We use this automake conditional in the macros/Makefile.am to install
  $(MACROS), autogen.sh, cafe-common.m4 and a newly created cafe-macros.dep
  in `$(datadir)/aclocal/cafe'.

  Since aclocal doesn't look in subdirectories we can safely install them
  there even when compiling from the repository.

  Also, there is no need to make any change to any existing application
  in the CAFE repository tree - really fine...

* When we're outside the CAFE repository tree, we simply need to tell aclocal
  that it should also look in `$(datadir)/aclocal/cafe' and it will find all
  the macros.

  There is a `cafe-skel' module in the repository that can be used as a
  starting point when writing a new CAFE application that should be used
  outside the repository.

February 4, 1999,
Martin Baulig <[email protected]>