aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-26 09:52:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-26 09:52:50 +0000
commitfd3d9da13e4543af929fdfe4eb6af968b9747640 (patch)
tree93ae9f8026189a94d76cd5991478dd07303b8e6f /Makefile
parentd1ca189c474915a66264af45d25264037f1a4674 (diff)
downloadmonitor-edid-fd3d9da13e4543af929fdfe4eb6af968b9747640.tar
monitor-edid-fd3d9da13e4543af929fdfe4eb6af968b9747640.tar.gz
monitor-edid-fd3d9da13e4543af929fdfe4eb6af968b9747640.tar.bz2
monitor-edid-fd3d9da13e4543af929fdfe4eb6af968b9747640.tar.xz
monitor-edid-fd3d9da13e4543af929fdfe4eb6af968b9747640.zip
- release 1.12
- add "make install"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e49ba69..b1f1663 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME = monitor-edid
-VERSION = 1.11
+VERSION = 1.12
FILES = $(shell ls | grep -v CVS | grep -vF .tar)
ARCH := $(patsubst i%86,i386,$(shell uname -m))
@@ -16,6 +16,10 @@ ifeq (ia64,$(ARCH))
HAS_VBE = y
endif
+DESTDIR=
+bindir=/usr/bin
+sbindir=/usr/sbin
+
TARGETS = monitor-get-edid-using-vbe cvt
CPPFLAGS = -I.
@@ -38,6 +42,14 @@ libx86emu.a: x86emu/*.c
libint10.a: int10/*.c
$(MAKE) -C int10
+install:
+ install -d $(DESTDIR)$(bindir)
+ install -d $(DESTDIR)$(sbindir)
+ install monitor-edid monitor-get-edid-using-vbe monitor-probe monitor-probe-using-X $(DESTDIR)$(sbindir)
+ install monitor-parse-edid $(DESTDIR)$(bindir)
+ install cvt $(DESTDIR)$(bindir)/vesa-cvt
+ ln -s monitor-edid $(DESTDIR)$(sbindir)/monitor-get-edid
+
clean:
$(MAKE) -C int10 clean
$(MAKE) -C x86emu clean