diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-26 09:52:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-26 09:52:50 +0000 |
commit | fd3d9da13e4543af929fdfe4eb6af968b9747640 (patch) | |
tree | 93ae9f8026189a94d76cd5991478dd07303b8e6f /Makefile | |
parent | d1ca189c474915a66264af45d25264037f1a4674 (diff) | |
download | monitor-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-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 |