diff options
author | Justin Davis <jrcd83@gmail.com> | 2011-09-22 17:40:04 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2011-09-22 17:40:04 +0200 |
commit | 50f309ffc93a92e99e479a486f5e66c1e2d77238 (patch) | |
tree | d81b0cdbc65a7cfff1556c5e76ec2f3144c6b84b /Makefile | |
parent | 2ecc615e167b4a7b00d42aaf6f8f2f275743ffb6 (diff) | |
download | genpkg-50f309ffc93a92e99e479a486f5e66c1e2d77238.tar.gz genpkg-50f309ffc93a92e99e479a486f5e66c1e2d77238.tar.xz |
Fix Makefile to run in GNU make.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -34,7 +34,9 @@ $(PKGS)/$(PKG)/PKGMETA: prepare @echo 'Created pkg/$(PKG)/PKGMETA.' prepare: -.ifndef PKG - @echo 'error: Specify the package name in the PKG variable.' 1>&2 - @false -.endif + @case '$(PKG)' in \ + '') echo 'error: Specify the package name in the PKG variable.' 1>&2 ;\ + false ;; \ + esac + @[ -d var ] || mkdir var + |