diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-23 09:42:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-23 09:46:02 -0300 |
commit | e233b943d1a88f325850d35f482408e552c3f94c (patch) | |
tree | 5d2684f7900cdf0a206b1f703baf42b3edbe7d1b | |
parent | d1f04773b9796a8c107d0d3c0a68f8fef9f043d0 (diff) |
Start providing the Makefile.clean as makefile
This way, if someone just pull from the tree and type make, it will
generate the configure file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -6,17 +6,20 @@ prefix = /usr/local arch := $(shell echo "arch-`uname -m`-`uname -s`" | tr "A-Z" "a-z") # targets -build all install: $(arch)/Makefile +build all install: $(arch)/Makefile configure $(MAKE) -C $(arch) $@ clean distclean: -test -d "$(arch)" && rm -rf "$(arch)" -tarball rpm dsc debs pbuild release snapshot snap: +configure: + autoconf + +tarball rpm dsc debs pbuild release snapshot snap: configure ./configure $(MAKE) $@ -$(arch)/Makefile: +$(arch)/Makefile: configure mkdir -p $(arch) (cd $(arch); ../configure \ --prefix=$(prefix) ) |