Ok, I now understand everything in the second file except for the
Code:
messages: rc.cpp
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/sigcreate.pot
What does that do? It looks like it is trying to build a file called rc.cpp what does this file do? I cannot find any information on the variables EXTRACTRC, XGETTEXT and podir. Can someone explain this line to me? The Makefile.am in the top level source directory is a complete mystery. What does this line do:
Code:
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
and this line
Code:
package-messages:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
Knowing this stuff could greatly enhance my ability to generate my own custom Makefiles. Thanks again.