diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-10 10:27:32 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-10 10:29:47 -0400 |
commit | d5c3cd287aed5684cd60f90eb88e19403079887e (patch) | |
tree | cc7d5f7c8350a15fd55f349304412629c04169ef /.pc/dont-forcibly-strip.patch | |
parent | readd all images (diff) | |
download | fbxkb-d5c3cd287aed5684cd60f90eb88e19403079887e.tar.gz fbxkb-d5c3cd287aed5684cd60f90eb88e19403079887e.tar.bz2 fbxkb-d5c3cd287aed5684cd60f90eb88e19403079887e.zip |
restore to orig tgz for dpkg-build prep
Diffstat (limited to '.pc/dont-forcibly-strip.patch')
-rw-r--r-- | .pc/dont-forcibly-strip.patch/Makefile | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/.pc/dont-forcibly-strip.patch/Makefile b/.pc/dont-forcibly-strip.patch/Makefile deleted file mode 100644 index 282eb88..0000000 --- a/.pc/dont-forcibly-strip.patch/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# Part 0 -# load common stuff -TOPDIR = . -include $(TOPDIR)/Makefile.common - -# Part 1 -# recursive make -.PHONY: subdirs -all clean distclean install uninstall: subdirs - -SUBDIRS = man images -.PHONY: $(SUBDIRS) -subdirs: $(SUBDIRS) -$(SUBDIRS): - $(MAKE) -C $@ $(MAKECMDGOALS) - - - -SRC = fbxkb.c eggtrayicon.c -OBJ = $(SRC:%.c=%.o) -DEP = $(SRC:%.c=%.dep) - -ifneq ($(MAKECMDGOALS),clean) -ifneq ($(MAKECMDGOALS),distclean) -ifneq ($(MAKECMDGOALS),tar) --include $(DEP) -endif -endif -endif - -TARGET = fbxkb -$(TARGET): $(OBJ) - $(CC) $(LDFLAGS) $(LIBS) $(OBJ) -o $@ -ifeq (,$(DEVEL)) - strip $@ -endif - -all: $(TARGET) - - -clean: - $(RM) $(TARGET) $(OBJ) $(DEP) *~ - -distclean: - rm -f Makefile.config config.h - -install: - install -d $(PREFIX)/bin - install -m 755 $(TARGET) $(PREFIX)/bin - -uninstall: - rm -f $(PREFIX)/bin/$(TARGET) - -.PHONY: tar - - -CWD=$(shell pwd) -VER=$(shell grep -e "\#define[[:space:]]\+VERSION[[:space:]]\+" version.h | \ - sed -e 's/^[^\"]\+\"//' -e 's/\".*$$//' ) - - -tar: - $(MAKE) distclean - cd ..; \ - if [ -e fbxkb-$(VER) ]; then \ - echo fbxkb-$(VER) already exist; \ - echo "won't override";\ - exit 1;\ - else\ - ln -s $(CWD) fbxkb-$(VER);\ - tar --exclude=.svn -hzcvf fbxkb-$(VER).tgz fbxkb-$(VER);\ - rm -f fbxkb-$(VER);\ - fi; - |