mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-21 19:40:11 +00:00
Revert "Dev"
This commit is contained in:
parent
41f1512d52
commit
0eccc875b2
@ -72,7 +72,7 @@ install it using your distro's package manager_
|
||||
On Ubuntu or debian install dependencies by,
|
||||
|
||||
```bash
|
||||
sudo apt install -y libgtk-3-dev build-essential gcc g++ pkg-config make
|
||||
sudo apt install -y libgtk-3-dev build-essential gcc g++ pkg-config make hostapd
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -9,5 +9,5 @@ Homepage: https://github.com/lakinduakash/linux-wifi-hotspot
|
||||
Package: linux-wifi-hotspot
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, hostapd (>=2.0), iw (>= 5.4),iproute2 (>=5.0), util-linux (>=2.3), procps(>=3.3)
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: GUI tool for creating virtual hotspots using the same wi-fi card that is already connected to an access point.
|
||||
|
@ -17,8 +17,6 @@ GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources
|
||||
|
||||
BUILT_SRC = resources.c
|
||||
|
||||
HEADER_FILES = ui/ui.h ui/read_config.h ui/util.h ui/h_prop.h
|
||||
|
||||
_OBJ = main.o ui.o h_prop.o util.o read_config.o $(BUILT_SRC:.c=.o)
|
||||
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
||||
|
||||
@ -26,13 +24,10 @@ OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
||||
# Be sure to place this BEFORE `include` directives, if any.
|
||||
THIS_FILE := $(lastword $(MAKEFILE_LIST))
|
||||
|
||||
.PHONY: clean resources.c
|
||||
.PHONY: clean
|
||||
|
||||
all: resources.c
|
||||
|
||||
generate-resources: ui/glade/wifih.gresource.xml ui/glade/wifih.ui
|
||||
$(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/resources.c --sourcedir=ui/glade --generate-source
|
||||
|
||||
resources.c: ui/glade/wifih.gresource.xml ui/glade/wifih.ui
|
||||
$(GLIB_COMPILE_RESOURCES) ui/glade/wifih.gresource.xml --target=ui/$@ --sourcedir=ui/glade --generate-source
|
||||
@$(MAKE) -f $(THIS_FILE) wihotspot-gui
|
||||
|
Loading…
Reference in New Issue
Block a user