mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
Also updated the debian/* files. It should now be easy to create Debian packages under Ubuntu 11.10 & 12.04. See also the notes in the Makefile.
36 lines
569 B
Makefile
36 lines
569 B
Makefile
.PHONY: all build install doc clean gf # sdist
|
|
|
|
all: build
|
|
|
|
dist/setup-config: gf.cabal Setup.hs
|
|
cabal configure
|
|
|
|
build: dist/setup-config
|
|
cabal build
|
|
|
|
install:
|
|
cabal copy
|
|
cabal register
|
|
|
|
doc:
|
|
cabal haddock
|
|
|
|
clean:
|
|
cabal clean
|
|
|
|
#sdist:
|
|
# cabal sdist
|
|
|
|
gf:
|
|
cabal build rgl-none
|
|
strip dist/build/gf/gf
|
|
|
|
html::
|
|
bash bin/update_html
|
|
|
|
# Make a debian package. First add a suitable entry with the correct GF version
|
|
# number to the top of debian/changelog.
|
|
# (Tested on Ubuntu 11.10 & 12.04. You need to install dpkg-dev & debhelper.)
|
|
deb:
|
|
dpkg-buildpackage -us -uc
|