Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
20fc1784
Commit
20fc1784
authored
Jul 17, 2013
by
Dubiousjim
Committed by
Natanael Copa
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: remove dist target and associated vars
parent
8f2b5b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
21 deletions
+2
-21
Makefile
Makefile
+2
-21
No files found.
Makefile
View file @
20fc1784
...
...
@@ -2,11 +2,7 @@ VERSION := 2.13.0
sysconfdir
?=
/etc/lbu
P
:=
alpine-conf
PV
:=
$(P)
-
$(VERSION)
TARBZ2
:=
$(PV)
.tar.bz2
PREFIX
?=
TMP
:=
$(PV)
LIB_FILES
:=
libalpine.sh
SBIN_FILES
:=
lbu
\
...
...
@@ -34,12 +30,8 @@ SBIN_FILES := lbu\
BIN_FILES
:=
uniso
SCRIPTS
:=
$(LIB_FILES)
$(SBIN_FILES)
SCRIPT_SOURCES
:=
$(
addsuffix
.in,
$(SCRIPTS)
)
ETC_LBU_FILES
:=
lbu.conf
EXTRA_DIST
:=
Makefile README
DIST_FILES
:=
$(SCRIPT_SOURCES)
$(ETC_LBU_FILES)
$(EXTRA_DIST)
GIT_REV
:=
$(
shell
test
-d
.git
&&
git describe
||
echo
exported
)
ifneq
($(GIT_REV), exported)
...
...
@@ -55,7 +47,6 @@ WWW="http://alpinelinux.org/alpine-conf"
SED
:=
sed
TAR
:=
tar
SED_REPLACE
:=
-e
's:@VERSION@:
$(FULL_VERSION)
:g'
\
-e
's:@PREFIX@:
$(PREFIX)
:g'
\
...
...
@@ -68,23 +59,13 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
.in
:
${SED}
${SED_REPLACE}
${SED_EXTRA}
$<
>
$@
.PHONY
:
all apk clean
dist
install uninstall
.PHONY
:
all apk clean install uninstall
all
:
$(SCRIPTS) $(BIN_FILES)
uniso
:
uniso.c
$(CC)
$(CFLAGS)
$(LDFLAGS)
-o
$@
$^
apk
:
$(APKF)
dist
:
$(TARBZ2)
$(TARBZ2)
:
$(DIST_FILES)
rm
-rf
$(TMP)
mkdir
-p
$(TMP)
cp
$(DIST_FILES)
$(TMP)
$(TAR)
-cjf
$@
$(TMP)
rm
-rf
$(TMP)
install
:
$(BIN_FILES) $(SBIN_FILES) $(LIB_FILES) $(ETC_LBU_FILES)
install
-m
755
-d
$(DESTDIR)
/
$(PREFIX)
/bin
...
...
@@ -105,5 +86,5 @@ uninstall:
done
clean
:
rm
-rf
$(SCRIPTS)
$(BIN_FILES)
$(TMP)
$(TARBZ2)
rm
-rf
$(SCRIPTS)
$(BIN_FILES)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment