From fe801fb5af2ad366c5253a74bbf848d49c713987 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 16 Aug 2020 17:08:12 -0500 Subject: [PATCH] Moved to new slp format --- Makefile | 8 ++++---- {SNAP => SL}/README | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename {SNAP => SL}/README (100%) diff --git a/Makefile b/Makefile index cfe4d80..a9a47d1 100644 --- a/Makefile +++ b/Makefile @@ -16,15 +16,15 @@ BRIEF = Shows battery status and other ACPI information DESC = Attempts to replicate the functionality of the \'old\' apm command \ on ACPI systems, including battery and thermal information. Does not \ support ACPI suspending, only displays information about ACPI devices. -SNAPVER = 0 +SLVER = 2 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') PATCHDIR := $(PWD)/SRC/patches -VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER) +VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SLVER) -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux $(SRCDIR)/configure: $(ARCHIVE) @if [ '$(TYPE)' == 'application/x-bzip2' ]; then \ @@ -71,7 +71,7 @@ test: $(ROOT) clean: @rm -rvf $(ROOT) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/SNAP/README b/SL/README similarity index 100% rename from SNAP/README rename to SL/README