[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Using make to build rpms



Hi All,

I'm attempting to create a build system that will build rpms.

I have much of the system created but have encountered an show stopper:

I have a top level Makefile like so:

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

RPM_DIRS = postgresql

default:
    $(foreach DIR,$(RPM_DIRS),$(MAKE) -C $DIRS rpm)


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

And a Makefile in each of the RPM_DIRS like so:

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

rpm:
    rpmbuild -ba postgresql-8.2.4.spec

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

If I r


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]