Commit 4c792923 authored by Colin Walters's avatar Colin Walters Committed by David Woodhouse

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.txtSigned-off-by: default avatarColin Walters <walters@verbum.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 654c70da
# 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.*}
#!/bin/bash
# -*- mode: sh -*-
# Our Makefile doesn't do srcdir != builddir
#buildapi-variable-no-builddir
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment