forked from Lainports/freebsd-ports
- Remove the checks for prior existence of $(XDG_DATA_DIR) and
$(PIXMAPS_DIR): they do not serve any useful purpose and could break the build if those directories are missing for some reason - When disabling wget(1), also change its name to make it obvious to the readers of the build log that is is not being executed Reported by: linimon
This commit is contained in:
parent
91d4a7f4df
commit
6a6a68433c
1 changed files with 5 additions and 3 deletions
|
|
@ -48,7 +48,7 @@
|
|||
version = $(shell grep -m 1 _RELEASE ../core/init.lua | cut -d ' ' -f4- | \
|
||||
tr ' ' '_' | tr -d "'")
|
||||
-WGET = wget -O $@
|
||||
+WGET = : wget -O $@
|
||||
+WGET = : wget-is-forbidden-during-build -O $@
|
||||
|
||||
# Scintilla.
|
||||
|
||||
|
|
@ -63,12 +63,14 @@
|
|||
install $^ $(DESTDIR)$(data_dir)
|
||||
cp -rL $| $(DESTDIR)$(data_dir)
|
||||
- ln -s $(subst .., $(data_dir), $^) $(DESTDIR)$(bin_dir)
|
||||
- if [ -d "$(XDG_DATA_DIR)" ]; then \
|
||||
+ ln -s $(subst ..,..$(subst $(PREFIX),,$(data_dir)),$^) $(DESTDIR)$(bin_dir)
|
||||
if [ -d "$(XDG_DATA_DIR)" ]; then \
|
||||
+ if : ; then \
|
||||
install -d $(DESTDIR)$(XDG_DATA_DIR); \
|
||||
install $(desktop_files) $(DESTDIR)$(XDG_DATA_DIR); \
|
||||
fi
|
||||
if [ -d "$(PIXMAPS_DIR)" ]; then \
|
||||
- if [ -d "$(PIXMAPS_DIR)" ]; then \
|
||||
+ if : ; then \
|
||||
install -d $(DESTDIR)$(PIXMAPS_DIR); \
|
||||
- ln -s $(data_dir)/core/images/textadept.svg $(DESTDIR)$(PIXMAPS_DIR); \
|
||||
- ln -s $(data_dir)/core/images/ta_48x48.png \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue