Browse Source

build: Implement minimal GNOME Build API

One more step on the road to entirely eliminating the concept of
packages.  I adapted the installation rules from the Fedora
spec file.

They should clearly be less lame, but to do so we'd need more formal
rules about which files should be installed.  Maybe just limit it to
things ending in ".bin" or ".fw"?

See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
master
Colin Walters 9 years ago
parent
commit
4c79292308
2 changed files with 16 additions and 0 deletions
  1. 12
    0
      Makefile
  2. 4
    0
      configure

+ 12
- 0
Makefile View File

@@ -0,0 +1,12 @@
# This file implements the GNOME Build API:
# http://people.gnome.org/~walters/docs/build-api.txt

FIRMWAREDIR = /lib/firmware

all:

install:
mkdir -p $(DESTDIR)$(FIRMWAREDIR)
cp -r * $(DESTDIR)$(FIRMWAREDIR)
rm -f $(DESTDIR)/usbdux/*dux $(DESTDIR)/*/*.asm
rm $(DESTDIR)$(FIRMWAREDIR)/{WHENCE,LICENSE.*,LICENCE.*}

+ 4
- 0
configure View File

@@ -0,0 +1,4 @@
#!/bin/bash
# -*- mode: sh -*-
# Our Makefile doesn't do srcdir != builddir
#buildapi-variable-no-builddir

Loading…
Cancel
Save