-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
6,771 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/make -f | ||
include ../i-nex.mk | ||
|
||
make-binary: | ||
@echo -e '\033[1;32mCompile i-nex-edid\033[0m' | ||
$(CC) -o i-nex-edid i-nex-edid.c $(CFLAGS) $(additional_confflags) | ||
@echo -e '\033[1;32mCompile i-nex-cpuid\033[0m' | ||
$(CC) -o i-nex-cpuid i-nex-cpuid.c -static $(CC_OPTS_LIBCPUID) $(additional_confflags) | ||
@echo -e '\033[1;32mCompile i-nex-usage\033[0m' | ||
$(CC) -o i-nex-usage i-nex-usage.c -static $(CC_OPTS_LIBPROCPS) $(additional_confflags) | ||
@echo -e '\033[1;32mCompile i-nex-cpusage\033[0m' | ||
$(CC) -o i-nex-cpusage i-nex-cpusage.c $(additional_confflags) | ||
@echo -e '\033[1;32mCompile i-nex-glinfo\033[0m' | ||
$(CC) -o i-nex-glinfo i-nex-glinfo.c $(libx11) $(libgl) $(libxext) $(additional_confflags) | ||
@echo -e '\033[1;32mCompile i-nex-uname\033[0m' | ||
$(CC) -o i-nex-uname i-nex-uname.c $(additional_confflags) | ||
|
||
install-bin: | ||
|
||
mkdir -p $(DESTDIR)$(bindir) | ||
chmod +x i-nex-edid | ||
chmod +x i-nex-cpuid | ||
chmod +x i-nex-usage | ||
chmod +x i-nex-cpusage | ||
chmod +x i-nex-glinfo | ||
chmod +x i-nex-uname | ||
$(INSTALL) 0755 i-nex-edid $(DESTDIR)$(bindir) | ||
$(INSTALL) 0755 i-nex-cpuid $(DESTDIR)$(bindir) | ||
$(INSTALL) 0755 i-nex-usage $(DESTDIR)$(bindir) | ||
$(INSTALL) 0755 i-nex-cpusage $(DESTDIR)$(bindir) | ||
$(INSTALL) 0755 i-nex-glinfo $(DESTDIR)$(bindir) | ||
$(INSTALL) 0755 i-nex-uname $(DESTDIR)$(bindir) | ||
clean: | ||
$(RM_COM) $(RMFILE_OPT) i-nex-edid | ||
$(RM_COM) $(RMFILE_OPT) i-nex-cpuid | ||
$(RM_COM) $(RMFILE_OPT) i-nex-usage | ||
$(RM_COM) $(RMFILE_OPT) i-nex-cpusage | ||
$(RM_COM) $(RMFILE_OPT) i-nex-glinfo | ||
$(RM_COM) $(RMFILE_OPT) i-nex-uname | ||
|
||
install: make-binary install-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
#!/usr/bin/make -f | ||
INSTALL = install -m | ||
install: | ||
$(INSTALL) 0755 changelog-0.4.6 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.4.8 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.4.8.1 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.0 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.1 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.2 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.4 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.6 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.5.8 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.6.0 $(DESTDIR)/usr/share/doc/i-nex/ | ||
$(INSTALL) 0755 changelog-0.6.2 $(DESTDIR)/usr/share/doc/i-nex/ | ||
VERSION = $(shell grep 'Version=' ../src/i-nex/.project | cut -d '=' -f 2) | ||
PN = i-nex | ||
|
||
PREFIX ?= /usr | ||
DOCDIR = $(PREFIX)/share/doc/$(PN)-$(VERSION) | ||
|
||
install-changelogs: | ||
@echo -e '\033[1;32mInstalling Changelogs...\033[0m' | ||
install -Dm644 changelog-0.4.6 "$(DESTDIR)$(DOCDIR)/changelog-0.4.6" | ||
install -Dm644 changelog-0.4.8 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8" | ||
install -Dm644 changelog-0.4.8.1 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8.1" | ||
install -Dm644 changelog-0.5.0 "$(DESTDIR)$(DOCDIR)/changelog-0.5.0" | ||
install -Dm644 changelog-0.5.1 "$(DESTDIR)$(DOCDIR)/changelog-0.5.1" | ||
install -Dm644 changelog-0.5.2 "$(DESTDIR)$(DOCDIR)/changelog-0.5.2" | ||
install -Dm644 changelog-0.5.4 "$(DESTDIR)$(DOCDIR)/changelog-0.5.4" | ||
install -Dm644 changelog-0.5.6 "$(DESTDIR)$(DOCDIR)/changelog-0.5.6" | ||
install -Dm644 changelog-0.5.8 "$(DESTDIR)$(DOCDIR)/changelog-0.5.8" | ||
install -Dm644 changelog-0.6.0 "$(DESTDIR)$(DOCDIR)/changelog-0.6.0" | ||
install -Dm644 changelog-0.6.2 "$(DESTDIR)$(DOCDIR)/changelog-0.6.2" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.6" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.4.8.1" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.0" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.1" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.2" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.4" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.6" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.5.8" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.6.0" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/changelog-0.6.2" | ||
|
||
install: install-changelogs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/make -f | ||
VERSION = $(shell grep 'Version=' ../src/i-nex/.project | cut -d '=' -f 2) | ||
PN = i-nex | ||
|
||
PREFIX ?= /usr | ||
DOCDIR = $(PREFIX)/share/doc/$(PN)-$(VERSION) | ||
|
||
create-dir: | ||
@echo -e '\033[1;32mCreate directory...\033[0m' | ||
mkdir -p $(DESTDIR)$(DOCDIR) | ||
|
||
install-doc: | ||
@echo -e '\033[1;32mInstalling Docs...\033[0m' | ||
install -Dm644 copyright "$(DESTDIR)$(DOCDIR)/copyright" | ||
install -Dm644 I-Nex.LICENSE "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE" | ||
install -Dm644 Pastebinit.LICENSE "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/copyright" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/I-Nex.LICENSE" | ||
gzip -9 "$(DESTDIR)$(DOCDIR)/Pastebinit.LICENSE" | ||
|
||
install: create-dir install-doc |
File renamed without changes.
Oops, something went wrong.